Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005861/0.005861, allocations: 99.56 kB / 15.73 MB, free: 6.059 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.001403/0.001403, allocations: 193.7 kB / 16.67 MB, free: 5.969 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.347/1.347, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.698/2.698, allocations: 472.6 MB / 0.7453 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 63.91 kB / 1.069 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8345/0.8363, allocations: 159.9 MB / 1.226 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0341/0.8705, allocations: 32.61 MB / 1.257 GB, free: 12.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01696/0.8875, allocations: 10.27 MB / 1.267 GB, free: 2.594 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002863/0.8904, allocations: 147.2 kB / 1.268 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.009074/0.8995, allocations: 3.717 MB / 1.271 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00545/0.905, allocations: 1.85 MB / 1.273 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00588/0.9109, allocations: 2.146 MB / 1.275 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00915/0.9201, allocations: 7.329 MB / 1.282 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01107/0.9312, allocations: 9.412 MB / 1.291 GB, free: 9.84 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006219/0.9374, allocations: 3.174 MB / 1.295 GB, free: 6.656 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006454/0.9439, allocations: 3.481 MB / 1.298 GB, free: 3.164 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001786/0.9457, allocations: 0.6484 MB / 1.299 GB, free: 2.516 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0042/0.95, allocations: 1.767 MB / 1.3 GB, free: 0.7461 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002936/0.9529, allocations: 2.55 MB / 1.303 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.004518/0.9574, allocations: 2.89 MB / 1.306 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01312/0.9706, allocations: 10.13 MB / 1.316 GB, free: 1.129 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.483e-06/0.9706, allocations: 0 / 1.316 GB, free: 1.129 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9706, allocations: 0 / 1.316 GB, free: 1.129 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.000356/0.971, allocations: 4 kB / 1.316 GB, free: 1.125 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01488/0.9859, allocations: 5.124 MB / 1.321 GB, free: 11.92 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.986, allocations: 8.031 kB / 1.321 GB, free: 11.91 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006473/0.9924, allocations: 0.9813 MB / 1.322 GB, free: 10.93 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008705/1.001, allocations: 3.059 MB / 1.325 GB, free: 7.809 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004154/1.002, allocations: 345.7 kB / 1.325 GB, free: 7.469 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002028/1.004, allocations: 468.3 kB / 1.325 GB, free: 7.012 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01946/1.023, allocations: 7.667 MB / 1.333 GB, free: 15 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003436/1.024, allocations: 31.78 kB / 1.333 GB, free: 14.96 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001569/1.025, allocations: 196 kB / 1.333 GB, free: 14.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004356/1.026, allocations: 312.9 kB / 1.333 GB, free: 14.46 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01214/1.038, allocations: 5.71 MB / 1.339 GB, free: 8.738 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03955/1.077, allocations: 34.88 MB / 1.373 GB, free: 2.648 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002953/1.08, allocations: 2.164 MB / 1.375 GB, free: 380 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001738/1.082, allocations: 1.264 MB / 1.376 GB, free: 15.11 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001103/1.082, allocations: 17.31 kB / 1.376 GB, free: 15.09 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.865e-05/1.082, allocations: 43.88 kB / 1.376 GB, free: 15.04 MB / 1.107 GB Notification: Performance of pre-optimization done (n=133): time 3.307e-06/1.082, allocations: 0 / 1.376 GB, free: 15.04 MB / 1.107 GB Notification: Performance of matching and sorting (n=136): time 0.01439/1.097, allocations: 7.145 MB / 1.383 GB, free: 7.625 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.118e-05/1.097, allocations: 72.72 kB / 1.383 GB, free: 7.543 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002251/1.099, allocations: 1.484 MB / 1.385 GB, free: 6.012 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 9.721e-05/1.099, allocations: 45.7 kB / 1.385 GB, free: 5.961 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001258/1.1, allocations: 2.065 MB / 1.387 GB, free: 3.875 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004412/1.101, allocations: 0.5035 MB / 1.387 GB, free: 3.367 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000542/1.101, allocations: 347.4 kB / 1.388 GB, free: 3.02 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 9.373e-05/1.102, allocations: 305.1 kB / 1.388 GB, free: 2.719 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001288/1.103, allocations: 0.9096 MB / 1.389 GB, free: 1.809 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/1.105, allocations: 1.597 MB / 1.39 GB, free: 15.9 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003266/1.108, allocations: 2.737 MB / 1.393 GB, free: 12.86 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-05/1.108, allocations: 8 kB / 1.393 GB, free: 12.85 MB / 1.123 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006033/1.114, allocations: 3.539 MB / 1.397 GB, free: 9.262 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.53e-05/1.114, allocations: 16.19 kB / 1.397 GB, free: 9.246 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-05/1.114, allocations: 24 kB / 1.397 GB, free: 9.223 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002607/1.117, allocations: 0.8959 MB / 1.398 GB, free: 8.289 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/1.118, allocations: 351.4 kB / 1.398 GB, free: 7.945 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02132/1.139, allocations: 23.12 MB / 1.42 GB, free: 15.15 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/1.141, allocations: 99.95 kB / 1.421 GB, free: 15.05 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003101/1.141, allocations: 88 kB / 1.421 GB, free: 14.96 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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 prepare postOptimizeDAE: time 0.002813/1.144, allocations: 1.612 MB / 1.422 GB, free: 13.34 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005108/1.145, allocations: 218.6 kB / 1.422 GB, free: 13.13 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005487/1.15, allocations: 2.99 MB / 1.425 GB, free: 10.09 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.716e-05/1.15, allocations: 16 kB / 1.425 GB, free: 10.08 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.972e-05/1.15, allocations: 12 kB / 1.425 GB, free: 10.07 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/1.15, allocations: 7.969 kB / 1.425 GB, free: 10.06 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01324/1.163, allocations: 7.34 MB / 1.433 GB, free: 2.477 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.33e-05/1.164, allocations: 4 kB / 1.433 GB, free: 2.473 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008307/1.164, allocations: 179.7 kB / 1.433 GB, free: 2.297 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002477/1.167, allocations: 0.8261 MB / 1.433 GB, free: 1.434 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001071/1.167, allocations: 28 kB / 1.434 GB, free: 1.406 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01897/1.186, allocations: 21.96 MB / 1.455 GB, free: 9.754 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.074e-06/1.186, allocations: 7.938 kB / 1.455 GB, free: 9.746 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0051/1.191, allocations: 3.034 MB / 1.458 GB, free: 6.598 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008672/1.192, allocations: 471.6 kB / 1.458 GB, free: 6.117 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003902/1.192, allocations: 27.94 kB / 1.458 GB, free: 6.09 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009797/1.193, allocations: 75.97 kB / 1.458 GB, free: 6.016 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003016/1.194, allocations: 124.7 kB / 1.459 GB, free: 5.895 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.069e-05/1.194, allocations: 40 kB / 1.459 GB, free: 5.855 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001502/1.195, allocations: 0.9795 MB / 1.46 GB, free: 4.852 MB / 1.186 GB Notification: Performance of sort global known variables: time 3.2e-07/1.195, allocations: 4 kB / 1.46 GB, free: 4.848 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.00276/1.198, allocations: 0.7812 MB / 1.46 GB, free: 4.066 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(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%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002571/1.198, allocations: 147.2 kB / 1.461 GB, free: 3.914 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005829/1.204, allocations: 4.035 MB / 1.464 GB, free: 15.72 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.204, allocations: 0 / 1.464 GB, free: 15.72 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003758/1.208, allocations: 2.749 MB / 1.467 GB, free: 12.82 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003686/1.212, allocations: 0.72 MB / 1.468 GB, free: 12.12 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01504/1.227, allocations: 7.235 MB / 1.475 GB, free: 4.801 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004603/1.231, allocations: 3.117 MB / 1.478 GB, free: 1.652 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001571/1.233, allocations: 454 kB / 1.478 GB, free: 1.207 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004536/1.233, allocations: 115.4 kB / 1.478 GB, free: 1.094 MB / 1.201 GB Notification: Performance of SimCode: time 8.72e-07/1.233, allocations: 0 / 1.478 GB, free: 1.094 MB / 1.201 GB Notification: Performance of Templates: time 0.06427/1.298, allocations: 36.23 MB / 1.514 GB, free: 13.28 MB / 1.248 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches