Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001696/0.001696, allocations: 114.2 kB / 16.81 MB, free: 5.77 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.001769/0.001769, allocations: 196.7 kB / 17.77 MB, free: 5.109 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.518/1.518, allocations: 225.6 MB / 244.2 MB, free: 13.89 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.835/2.835, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001919/0.001919, allocations: 67.83 kB / 1.097 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.396, allocations: 168.7 MB / 1.262 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03546/0.4314, allocations: 27.1 MB / 1.289 GB, free: 1.789 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01894/0.4504, allocations: 8.153 MB / 1.296 GB, free: 9.613 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004272/0.4547, allocations: 119.4 kB / 1.297 GB, free: 9.496 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.009422/0.4641, allocations: 2.803 MB / 1.299 GB, free: 6.688 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.006063/0.4701, allocations: 1.664 MB / 1.301 GB, free: 5.016 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.005742/0.4759, allocations: 1.719 MB / 1.303 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01026/0.4861, allocations: 6.134 MB / 1.309 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009084/0.4952, allocations: 5.329 MB / 1.314 GB, free: 7.707 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006146/0.5014, allocations: 2.613 MB / 1.316 GB, free: 5.086 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006904/0.5083, allocations: 2.994 MB / 1.319 GB, free: 2.082 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.002092/0.5104, allocations: 0.5078 MB / 1.32 GB, free: 1.574 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004542/0.5149, allocations: 1.307 MB / 1.321 GB, free: 272 kB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.004557/0.5195, allocations: 2.104 MB / 1.323 GB, free: 14.16 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.006709/0.5262, allocations: 2.385 MB / 1.325 GB, free: 11.76 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01511/0.5413, allocations: 8.079 MB / 1.333 GB, free: 3.656 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.5413, allocations: 0 / 1.333 GB, free: 3.656 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5413, allocations: 0 / 1.333 GB, free: 3.656 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002964/0.5416, allocations: 4 kB / 1.333 GB, free: 3.652 MB / 1.045 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.01495/0.5565, allocations: 4.343 MB / 1.338 GB, free: 15.24 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/0.5566, allocations: 8.031 kB / 1.338 GB, free: 15.23 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005874/0.5625, allocations: 0.8141 MB / 1.338 GB, free: 14.41 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007141/0.5696, allocations: 2.59 MB / 1.341 GB, free: 11.77 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003733/0.57, allocations: 275.6 kB / 1.341 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001982/0.572, allocations: 384.5 kB / 1.342 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01699/0.589, allocations: 5.988 MB / 1.347 GB, free: 4.883 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002121/0.5892, allocations: 11.88 kB / 1.347 GB, free: 4.871 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001294/0.5905, allocations: 163.9 kB / 1.348 GB, free: 4.711 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007671/0.5912, allocations: 282.9 kB / 1.348 GB, free: 4.434 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01115/0.6024, allocations: 4.524 MB / 1.352 GB, free: 15.9 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04109/0.6435, allocations: 27.5 MB / 1.379 GB, free: 1.895 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/0.6457, allocations: 1.059 MB / 1.38 GB, free: 0.8281 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001719/0.6474, allocations: 0.9564 MB / 1.381 GB, free: 15.87 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001111/0.6475, allocations: 16.98 kB / 1.381 GB, free: 15.86 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.05e-05/0.6476, allocations: 43.56 kB / 1.381 GB, free: 15.8 MB / 1.107 GB Notification: Performance of pre-optimization done (n=110): time 3.817e-06/0.6476, allocations: 0 / 1.381 GB, free: 15.8 MB / 1.107 GB Notification: Performance of matching and sorting (n=131): time 0.02602/0.6736, allocations: 9.711 MB / 1.391 GB, free: 5.887 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.6736, allocations: 64.72 kB / 1.391 GB, free: 5.812 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003133/0.6768, allocations: 1.49 MB / 1.392 GB, free: 4.324 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002831/0.677, allocations: 49.7 kB / 1.392 GB, free: 4.27 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001487/0.6785, allocations: 1.715 MB / 1.394 GB, free: 2.535 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007424/0.6793, allocations: 491.8 kB / 1.394 GB, free: 2.051 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008066/0.6801, allocations: 331.4 kB / 1.395 GB, free: 1.719 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.6802, allocations: 309.1 kB / 1.395 GB, free: 1.414 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001623/0.6819, allocations: 0.9135 MB / 1.396 GB, free: 0.5 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002247/0.6841, allocations: 1.463 MB / 1.397 GB, free: 14.8 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004008/0.6881, allocations: 2.55 MB / 1.4 GB, free: 12 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.342e-05/0.6881, allocations: 4 kB / 1.4 GB, free: 12 MB / 1.123 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006985/0.6951, allocations: 3.279 MB / 1.403 GB, free: 8.684 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/0.6952, allocations: 15.94 kB / 1.403 GB, free: 8.668 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-05/0.6952, allocations: 20.16 kB / 1.403 GB, free: 8.648 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002428/0.6976, allocations: 0.7373 MB / 1.404 GB, free: 7.883 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001835/0.6995, allocations: 383.4 kB / 1.404 GB, free: 7.508 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02386/0.7233, allocations: 17.06 MB / 1.421 GB, free: 5.191 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003115/0.7264, allocations: 103.9 kB / 1.421 GB, free: 5.09 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005555/0.727, allocations: 72 kB / 1.421 GB, free: 5.02 MB / 1.139 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.004403/0.7314, allocations: 1.31 MB / 1.422 GB, free: 3.699 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009407/0.7323, allocations: 214.7 kB / 1.422 GB, free: 3.488 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007815/0.7401, allocations: 2.765 MB / 1.425 GB, free: 0.6836 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/0.7402, allocations: 7.984 kB / 1.425 GB, free: 0.6758 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/0.7402, allocations: 7.984 kB / 1.425 GB, free: 0.668 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001725/0.7419, allocations: 459.6 kB / 1.426 GB, free: 204 kB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005169/0.7424, allocations: 32.12 kB / 1.426 GB, free: 172 kB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/0.7439, allocations: 79.89 kB / 1.426 GB, free: 92 kB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003979/0.7443, allocations: 113.3 kB / 1.426 GB, free: 15.98 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009926/0.7542, allocations: 2.983 MB / 1.429 GB, free: 12.96 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007138/0.7613, allocations: 3.255 MB / 1.432 GB, free: 9.688 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002019/0.7633, allocations: 0.9197 MB / 1.433 GB, free: 8.77 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002351/0.7657, allocations: 0.9981 MB / 1.434 GB, free: 7.781 MB / 1.154 GB Notification: Performance of Backend: time 3.9e-07/0.7657, allocations: 0 / 1.434 GB, free: 7.781 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.009224/0.7749, allocations: 3.11 MB / 1.437 GB, free: 4.547 MB / 1.154 GB Notification: Performance of SimCode: time 0.01474/0.7897, allocations: 7.28 MB / 1.444 GB, free: 13.23 MB / 1.17 GB Notification: Performance of Templates: time 0.09522/0.8849, allocations: 41.36 MB / 1.484 GB, free: 4.379 MB / 1.201 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches