Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RLCLine_1.terminal_n.phase.1..i.1.|RLCLine_1.terminal_n.phase.1..i.2.|RLCLine_sc.terminal_n.phase.1..i.1.|RLCLine_sc.terminal_n.phase.1..i.2.|RLCLine_2a.terminal_n.phase.1..i.1.|RLCLine_2a.terminal_n.phase.1..i.2.|RLCLine_3a.terminal_n.phase.1..i.1.|RLCLine_3a.terminal_n.phase.1..i.2.|RLCLine_3b.terminal_n.phase.1..i.1.|RLCLine_3b.terminal_n.phase.1..i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 109.9 kB / 16.41 MB, free: 6.387 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.002115/0.002115, allocations: 187.3 kB / 17.34 MB, free: 5.84 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.356/1.356, allocations: 222.9 MB / 241 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.795/2.795, allocations: 472.7 MB / 0.746 GB, free: 416 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 59.91 kB / 1.07 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.027/1.028, allocations: 159.9 MB / 1.226 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04095/1.069, allocations: 37.6 MB / 1.263 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02207/1.091, allocations: 13.03 MB / 1.276 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004213/1.096, allocations: 171.1 kB / 1.276 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01003/1.106, allocations: 3.895 MB / 1.28 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00936/1.115, allocations: 2.608 MB / 1.282 GB, free: 4.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.008049/1.123, allocations: 2.708 MB / 1.285 GB, free: 1.461 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01251/1.136, allocations: 9.595 MB / 1.294 GB, free: 7.84 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01555/1.151, allocations: 10.51 MB / 1.305 GB, free: 13.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008668/1.16, allocations: 4.074 MB / 1.309 GB, free: 9.113 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009534/1.169, allocations: 4.369 MB / 1.313 GB, free: 4.73 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.003255/1.173, allocations: 0.7734 MB / 1.314 GB, free: 3.957 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006136/1.179, allocations: 1.787 MB / 1.315 GB, free: 2.168 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.005681/1.185, allocations: 3.037 MB / 1.318 GB, free: 15.12 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.007811/1.192, allocations: 3.583 MB / 1.322 GB, free: 11.53 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01901/1.212, allocations: 11.88 MB / 1.333 GB, free: 15.6 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.748e-06/1.212, allocations: 3.984 kB / 1.333 GB, free: 15.6 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.854e-06/1.212, allocations: 0 / 1.333 GB, free: 15.6 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.000455/1.212, allocations: 0 / 1.333 GB, free: 15.6 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01963/1.232, allocations: 6.515 MB / 1.34 GB, free: 9.004 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/1.232, allocations: 8.031 kB / 1.34 GB, free: 8.996 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0109/1.243, allocations: 1.332 MB / 1.341 GB, free: 7.66 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/1.254, allocations: 3.809 MB / 1.345 GB, free: 3.777 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004921/1.254, allocations: 390.4 kB / 1.345 GB, free: 3.395 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002991/1.257, allocations: 0.4964 MB / 1.346 GB, free: 2.898 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01967/1.277, allocations: 8.886 MB / 1.354 GB, free: 9.66 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001515/1.277, allocations: 27.81 kB / 1.354 GB, free: 9.633 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008251/1.278, allocations: 227.9 kB / 1.355 GB, free: 9.41 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00203/1.28, allocations: 0.6342 MB / 1.355 GB, free: 8.773 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0123/1.292, allocations: 7.01 MB / 1.362 GB, free: 1.75 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05531/1.348, allocations: 40.11 MB / 1.401 GB, free: 6.41 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004989/1.353, allocations: 2.902 MB / 1.404 GB, free: 3.492 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004144/1.357, allocations: 2.667 MB / 1.407 GB, free: 0.8164 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003233/1.357, allocations: 26.09 kB / 1.407 GB, free: 0.7891 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.274e-05/1.357, allocations: 68.59 kB / 1.407 GB, free: 0.7109 MB / 1.123 GB Notification: Performance of pre-optimization done (n=265): time 6.172e-06/1.357, allocations: 0 / 1.407 GB, free: 0.7109 MB / 1.123 GB Notification: Performance of matching and sorting (n=424): time 0.2948/1.652, allocations: 74.79 MB / 1.48 GB, free: 5.266 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.486e-05/1.652, allocations: 94.73 kB / 1.48 GB, free: 5.16 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004617/1.657, allocations: 2.352 MB / 1.482 GB, free: 2.797 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0009998/1.658, allocations: 101.6 kB / 1.482 GB, free: 2.691 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001955/1.66, allocations: 2.406 MB / 1.485 GB, free: 272 kB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.002355/1.662, allocations: 1.506 MB / 1.486 GB, free: 14.75 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002946/1.665, allocations: 0.7256 MB / 1.487 GB, free: 14.01 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001184/1.665, allocations: 309.1 kB / 1.487 GB, free: 13.7 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005267/1.671, allocations: 2.995 MB / 1.49 GB, free: 10.7 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00593/1.677, allocations: 3.847 MB / 1.494 GB, free: 6.52 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/1.689, allocations: 7.384 MB / 1.501 GB, free: 14.81 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-05/1.689, allocations: 11.94 kB / 1.501 GB, free: 14.8 MB / 1.232 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03381/1.723, allocations: 12.57 MB / 1.513 GB, free: 2.121 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/1.723, allocations: 16 kB / 1.513 GB, free: 2.105 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.741e-05/1.723, allocations: 24 kB / 1.513 GB, free: 2.082 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02397/1.747, allocations: 6.017 MB / 1.519 GB, free: 12 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/1.749, allocations: 495.2 kB / 1.52 GB, free: 11.52 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7874/2.537, allocations: 73.04 MB / 1.591 GB, free: 283.1 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004547/2.541, allocations: 215.3 kB / 1.591 GB, free: 283 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007121/2.542, allocations: 155.4 kB / 1.591 GB, free: 283 MB / 1.279 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003715/2.546, allocations: 1.996 MB / 1.593 GB, free: 282.1 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009409/2.546, allocations: 411.3 kB / 1.594 GB, free: 282.1 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02485/2.571, allocations: 12.23 MB / 1.606 GB, free: 277.2 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.561e-05/2.571, allocations: 28.86 kB / 1.606 GB, free: 277.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/2.571, allocations: 1.375 kB / 1.606 GB, free: 277.2 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002336/2.574, allocations: 1.117 MB / 1.607 GB, free: 276.8 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007283/2.575, allocations: 75.05 kB / 1.607 GB, free: 276.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002413/2.577, allocations: 179.9 kB / 1.607 GB, free: 276.6 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001056/2.578, allocations: 0.5052 MB / 1.607 GB, free: 276.6 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02548/2.604, allocations: 12.62 MB / 1.62 GB, free: 272.4 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0122/2.616, allocations: 10.74 MB / 1.63 GB, free: 265.5 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003555/2.619, allocations: 3.496 MB / 1.634 GB, free: 262.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001933/2.621, allocations: 1.557 MB / 1.635 GB, free: 261.3 MB / 1.279 GB Notification: Performance of Backend: time 6.01e-07/2.621, allocations: 3 kB / 1.635 GB, free: 261.3 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01768/2.639, allocations: 10.42 MB / 1.645 GB, free: 251 MB / 1.279 GB Notification: Performance of SimCode: time 0.01893/2.658, allocations: 14.19 MB / 1.659 GB, free: 236.8 MB / 1.279 GB Notification: Performance of Templates: time 0.1429/2.801, allocations: 108.8 MB / 1.766 GB, free: 129.1 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches