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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.00121/0.00121, allocations: 118.6 kB / 16.42 MB, free: 6.496 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.001231/0.001232, allocations: 189.5 kB / 17.34 MB, free: 5.727 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.353/1.353, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.691/2.691, allocations: 461.9 MB / 0.7355 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 67.89 kB / 1.055 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8942/0.8956, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04184/0.9375, allocations: 37.59 MB / 1.245 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02507/0.9626, allocations: 13.04 MB / 1.258 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00506/0.9677, allocations: 171.1 kB / 1.258 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0108/0.9786, allocations: 3.871 MB / 1.262 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.008366/0.987, allocations: 2.491 MB / 1.264 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.007713/0.9947, allocations: 2.708 MB / 1.267 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01283/1.008, allocations: 9.567 MB / 1.276 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01614/1.024, allocations: 10.49 MB / 1.287 GB, free: 13.34 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007985/1.032, allocations: 4.078 MB / 1.29 GB, free: 9.254 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008011/1.04, allocations: 4.381 MB / 1.295 GB, free: 4.859 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002972/1.043, allocations: 0.7734 MB / 1.296 GB, free: 4.086 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005878/1.049, allocations: 1.771 MB / 1.297 GB, free: 2.312 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.005464/1.054, allocations: 3.04 MB / 1.3 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.009423/1.064, allocations: 3.591 MB / 1.304 GB, free: 11.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01685/1.081, allocations: 11.85 MB / 1.315 GB, free: 15.78 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.081, allocations: 0 / 1.315 GB, free: 15.78 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.853e-06/1.081, allocations: 0 / 1.315 GB, free: 15.78 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.000446/1.081, allocations: 0 / 1.315 GB, free: 15.78 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02077/1.102, allocations: 6.37 MB / 1.322 GB, free: 9.336 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.918e-05/1.102, allocations: 8.031 kB / 1.322 GB, free: 9.328 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009987/1.112, allocations: 1.301 MB / 1.323 GB, free: 8.02 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009647/1.122, allocations: 3.783 MB / 1.326 GB, free: 4.16 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004553/1.122, allocations: 382.5 kB / 1.327 GB, free: 3.785 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002548/1.125, allocations: 0.504 MB / 1.327 GB, free: 3.281 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02577/1.15, allocations: 8.882 MB / 1.336 GB, free: 10.05 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000353/1.151, allocations: 23.78 kB / 1.336 GB, free: 10.02 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002354/1.153, allocations: 219.9 kB / 1.336 GB, free: 9.809 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002541/1.156, allocations: 0.6421 MB / 1.337 GB, free: 9.164 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01671/1.172, allocations: 7.006 MB / 1.344 GB, free: 2.145 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06131/1.234, allocations: 40.06 MB / 1.383 GB, free: 6.852 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005042/1.239, allocations: 2.886 MB / 1.386 GB, free: 3.953 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004361/1.243, allocations: 2.671 MB / 1.388 GB, free: 1.273 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003898/1.244, allocations: 30.09 kB / 1.388 GB, free: 1.242 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.708e-05/1.244, allocations: 68.59 kB / 1.388 GB, free: 1.164 MB / 1.107 GB Notification: Performance of pre-optimization done (n=265): time 7.273e-06/1.244, allocations: 0 / 1.388 GB, free: 1.164 MB / 1.107 GB Notification: Performance of matching and sorting (n=424): time 0.3093/1.553, allocations: 74.69 MB / 1.461 GB, free: 5.805 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.38e-05/1.553, allocations: 94.73 kB / 1.461 GB, free: 5.699 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004874/1.558, allocations: 2.351 MB / 1.464 GB, free: 3.336 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.001215/1.559, allocations: 97.7 kB / 1.464 GB, free: 3.234 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.002037/1.561, allocations: 2.345 MB / 1.466 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.002692/1.564, allocations: 1.432 MB / 1.467 GB, free: 15.41 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003147/1.567, allocations: 0.7215 MB / 1.468 GB, free: 14.68 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001176/1.567, allocations: 305.1 kB / 1.468 GB, free: 14.38 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00542/1.573, allocations: 2.999 MB / 1.471 GB, free: 11.37 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005783/1.579, allocations: 3.847 MB / 1.475 GB, free: 7.191 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01177/1.591, allocations: 7.388 MB / 1.482 GB, free: 15.48 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.302e-05/1.591, allocations: 8 kB / 1.482 GB, free: 15.47 MB / 1.217 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03109/1.622, allocations: 12.56 MB / 1.495 GB, free: 2.809 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 6.618e-05/1.622, allocations: 16 kB / 1.495 GB, free: 2.793 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.78e-05/1.622, allocations: 20 kB / 1.495 GB, free: 2.773 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02305/1.645, allocations: 6.028 MB / 1.501 GB, free: 12.68 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002489/1.647, allocations: 495.2 kB / 1.501 GB, free: 12.2 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.848/2.496, allocations: 72.98 MB / 1.572 GB, free: 306.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004392/2.5, allocations: 219.4 kB / 1.573 GB, free: 306.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006731/2.501, allocations: 157 kB / 1.573 GB, free: 306.2 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.004194/2.505, allocations: 1.992 MB / 1.575 GB, free: 306.1 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001051/2.506, allocations: 391.6 kB / 1.575 GB, free: 306.1 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02678/2.533, allocations: 12.24 MB / 1.587 GB, free: 301.7 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.906e-05/2.533, allocations: 18.52 kB / 1.587 GB, free: 301.7 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/2.533, allocations: 0 / 1.587 GB, free: 301.7 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002796/2.536, allocations: 1.095 MB / 1.588 GB, free: 301.2 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007161/2.536, allocations: 71.88 kB / 1.588 GB, free: 301.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002574/2.539, allocations: 186.8 kB / 1.588 GB, free: 301.1 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0012/2.54, allocations: 0.5072 MB / 1.589 GB, free: 301.1 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02814/2.568, allocations: 12.6 MB / 1.601 GB, free: 297 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01254/2.581, allocations: 10.71 MB / 1.612 GB, free: 292.7 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003488/2.584, allocations: 3.499 MB / 1.615 GB, free: 290.9 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001886/2.586, allocations: 1.556 MB / 1.616 GB, free: 289.6 MB / 1.279 GB Notification: Performance of Backend: time 6.01e-07/2.586, allocations: 0 / 1.616 GB, free: 289.6 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.01711/2.603, allocations: 10.38 MB / 1.627 GB, free: 280.2 MB / 1.279 GB Notification: Performance of SimCode: time 0.02179/2.625, allocations: 13.97 MB / 1.64 GB, free: 267 MB / 1.279 GB Notification: Performance of Templates: time 0.1402/2.766, allocations: 111.2 MB / 1.749 GB, free: 157 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