Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007797/0.007797, allocations: 101.5 kB / 15.88 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001548/0.001548, allocations: 192.9 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.395/1.395, allocations: 222.9 MB / 240.5 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.736/2.736, allocations: 461.8 MB / 0.7348 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 68.14 kB / 0.8991 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3211/0.3225, allocations: 157.4 MB / 1.053 GB, free: 8.234 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02832/0.3508, allocations: 26.43 MB / 1.079 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01397/0.3648, allocations: 8.083 MB / 1.086 GB, free: 5.609 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/0.3675, allocations: 103.4 kB / 1.087 GB, free: 5.508 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.006738/0.3743, allocations: 2.57 MB / 1.089 GB, free: 2.934 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.004664/0.379, allocations: 1.489 MB / 1.091 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004454/0.3835, allocations: 1.525 MB / 1.092 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.008947/0.3925, allocations: 8.7 MB / 1.101 GB, free: 7.191 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01322/0.4057, allocations: 8.191 MB / 1.109 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004406/0.4101, allocations: 2.195 MB / 1.111 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005145/0.4153, allocations: 2.881 MB / 1.113 GB, free: 9.809 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.001578/0.4169, allocations: 344 kB / 1.114 GB, free: 9.473 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003876/0.4208, allocations: 1.33 MB / 1.115 GB, free: 8.141 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.00332/0.4241, allocations: 1.882 MB / 1.117 GB, free: 6.254 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.004909/0.4291, allocations: 2.182 MB / 1.119 GB, free: 4.062 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007724/0.4368, allocations: 6.801 MB / 1.126 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.4369, allocations: 4 kB / 1.126 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4369, allocations: 3.938 kB / 1.126 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002833/0.4372, allocations: 0 / 1.126 GB, free: 13.24 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.01151/0.4487, allocations: 4.239 MB / 1.13 GB, free: 8.934 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.4488, allocations: 8.031 kB / 1.13 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005194/0.454, allocations: 0.7922 MB / 1.131 GB, free: 8.129 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005489/0.4595, allocations: 2.428 MB / 1.133 GB, free: 5.645 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002895/0.4598, allocations: 279.6 kB / 1.133 GB, free: 5.371 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001522/0.4613, allocations: 384.5 kB / 1.134 GB, free: 4.996 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01519/0.4765, allocations: 5.984 MB / 1.139 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001991/0.4768, allocations: 15.78 kB / 1.14 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001243/0.478, allocations: 160 kB / 1.14 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006976/0.4788, allocations: 286.9 kB / 1.14 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/0.4893, allocations: 4.52 MB / 1.144 GB, free: 9.777 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03565/0.525, allocations: 27.66 MB / 1.171 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001942/0.527, allocations: 1.12 MB / 1.172 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001467/0.5285, allocations: 1.023 MB / 1.173 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.5286, allocations: 13 kB / 1.173 GB, free: 9.445 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.553e-05/0.5287, allocations: 47.55 kB / 1.174 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 2.965e-06/0.5287, allocations: 0 / 1.174 GB, free: 9.391 MB / 0.9356 GB Notification: Performance of matching and sorting (n=131): time 0.02398/0.5527, allocations: 9.651 MB / 1.183 GB, free: 15.52 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.072e-05/0.5528, allocations: 68.72 kB / 1.183 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003114/0.556, allocations: 1.498 MB / 1.184 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001734/0.5562, allocations: 53.58 kB / 1.185 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001193/0.5574, allocations: 1.667 MB / 1.186 GB, free: 12.2 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005077/0.5579, allocations: 465.4 kB / 1.187 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006185/0.5585, allocations: 339.1 kB / 1.187 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.7e-05/0.5586, allocations: 305.1 kB / 1.187 GB, free: 11.1 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.5601, allocations: 0.9135 MB / 1.188 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001751/0.5618, allocations: 1.463 MB / 1.19 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003245/0.5651, allocations: 2.546 MB / 1.192 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.544e-05/0.5651, allocations: 8 kB / 1.192 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006062/0.5712, allocations: 3.281 MB / 1.195 GB, free: 2.367 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.5712, allocations: 12.97 kB / 1.195 GB, free: 2.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.124e-05/0.5713, allocations: 20 kB / 1.195 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002412/0.5737, allocations: 0.7451 MB / 1.196 GB, free: 1.562 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/0.5753, allocations: 387.3 kB / 1.196 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01605/0.5914, allocations: 15.76 MB / 1.212 GB, free: 220 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001786/0.5932, allocations: 103.8 kB / 1.212 GB, free: 116 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000367/0.5936, allocations: 76 kB / 1.212 GB, free: 40 kB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002637/0.5962, allocations: 1.309 MB / 1.213 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000626/0.5969, allocations: 201.7 kB / 1.213 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00545/0.6023, allocations: 2.788 MB / 1.216 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-05/0.6024, allocations: 15.94 kB / 1.216 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.381e-05/0.6024, allocations: 8 kB / 1.216 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.505e-05/0.6024, allocations: 7.969 kB / 1.216 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/0.6148, allocations: 6.224 MB / 1.222 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/0.6148, allocations: 4.656 kB / 1.222 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.6161, allocations: 231.6 kB / 1.222 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002152/0.6183, allocations: 0.6711 MB / 1.223 GB, free: 4.344 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001733/0.6185, allocations: 35.98 kB / 1.223 GB, free: 4.309 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01515/0.6336, allocations: 15.5 MB / 1.238 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/0.6337, allocations: 7.938 kB / 1.238 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006656/0.6404, allocations: 4.008 MB / 1.242 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009613/0.6414, allocations: 462.5 kB / 1.243 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002644/0.6416, allocations: 31.98 kB / 1.243 GB, free: 14.97 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000854/0.6425, allocations: 83.89 kB / 1.243 GB, free: 14.89 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003244/0.6428, allocations: 120.7 kB / 1.243 GB, free: 14.77 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.588e-05/0.6429, allocations: 39.94 kB / 1.243 GB, free: 14.73 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001354/0.6443, allocations: 0.9942 MB / 1.244 GB, free: 13.75 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6443, allocations: 0 / 1.244 GB, free: 13.75 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002356/0.6467, allocations: 0.6875 MB / 1.245 GB, free: 13.06 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002743/0.6469, allocations: 148.3 kB / 1.245 GB, free: 12.91 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.005104/0.6521, allocations: 3.503 MB / 1.248 GB, free: 9.289 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.6521, allocations: 0 / 1.248 GB, free: 9.289 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003139/0.6552, allocations: 2.295 MB / 1.25 GB, free: 6.875 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00308/0.6583, allocations: 0.6216 MB / 1.251 GB, free: 6.258 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5257/1.184, allocations: 8.61 MB / 1.259 GB, free: 184.5 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002895/1.187, allocations: 2.722 MB / 1.262 GB, free: 183.8 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006057/1.188, allocations: 131 kB / 1.262 GB, free: 183.8 MB / 1.014 GB Notification: Performance of SimCode: time 9.12e-07/1.188, allocations: 0 / 1.262 GB, free: 183.8 MB / 1.014 GB Notification: Performance of Templates: time 0.1516/1.339, allocations: 209.6 MB / 1.467 GB, free: 6.402 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches