Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load.v.1.|load.v.2.|E.terminal.v.1.|E.terminal.v.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 114.5 kB / 16.42 MB, free: 6.492 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.001214/0.001214, allocations: 187.8 kB / 17.35 MB, free: 5.762 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.355/1.355, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 59.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9041/0.9053, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid): time 0.007152/0.9125, allocations: 5.082 MB / 1.094 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005152/0.9177, allocations: 3.355 MB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004512/0.9182, allocations: 12.06 kB / 1.097 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.001801/0.9201, allocations: 0.5126 MB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001321/0.9214, allocations: 398.5 kB / 1.098 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008704/0.9223, allocations: 266.7 kB / 1.098 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.001293/0.9236, allocations: 0.6575 MB / 1.099 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008231/0.9245, allocations: 0.5261 MB / 1.099 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005172/0.925, allocations: 291.3 kB / 1.099 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005316/0.9255, allocations: 293.7 kB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 9.435e-05/0.9256, allocations: 44.59 kB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007462/0.9264, allocations: 299.7 kB / 1.1 GB, free: 14.3 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002325/0.9266, allocations: 184.8 kB / 1.1 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0003241/0.927, allocations: 239.7 kB / 1.1 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001329/0.9283, allocations: 0.832 MB / 1.101 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.9283, allocations: 0.6562 kB / 1.101 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9283, allocations: 0 / 1.101 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.004e-05/0.9284, allocations: 0.875 kB / 1.101 GB, free: 13.81 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001761/0.9301, allocations: 0.796 MB / 1.102 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.9302, allocations: 8.812 kB / 1.102 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003411/0.9336, allocations: 0.6823 MB / 1.103 GB, free: 13.19 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.9348, allocations: 472.2 kB / 1.103 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.92e-05/0.9348, allocations: 21.44 kB / 1.103 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.9349, allocations: 40.81 kB / 1.103 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.9369, allocations: 0.838 MB / 1.104 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.937, allocations: 0 / 1.104 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.94e-05/0.937, allocations: 11.5 kB / 1.104 GB, free: 12.54 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002002/0.9372, allocations: 63.75 kB / 1.104 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002358/0.9396, allocations: 0.9336 MB / 1.105 GB, free: 12.32 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004726/0.9444, allocations: 2.848 MB / 1.108 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/0.9463, allocations: 0.5563 MB / 1.108 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000855/0.9471, allocations: 309 kB / 1.109 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001206/0.9473, allocations: 85.89 kB / 1.109 GB, free: 9.98 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/0.9473, allocations: 41.36 kB / 1.109 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 2.705e-06/0.9473, allocations: 0 / 1.109 GB, free: 9.934 MB / 0.8731 GB Notification: Performance of matching and sorting (n=32): time 0.01512/0.9625, allocations: 3.502 MB / 1.112 GB, free: 9.059 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.9626, allocations: 55.56 kB / 1.112 GB, free: 8.996 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008296/0.9634, allocations: 395.8 kB / 1.113 GB, free: 8.801 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001632/0.9636, allocations: 31.17 kB / 1.113 GB, free: 8.766 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.9638, allocations: 229.5 kB / 1.113 GB, free: 8.578 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002349/0.9641, allocations: 117 kB / 1.113 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.9644, allocations: 80.36 kB / 1.113 GB, free: 8.445 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001832/0.9646, allocations: 352.6 kB / 1.113 GB, free: 8.113 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.9658, allocations: 394.8 kB / 1.114 GB, free: 8 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.967, allocations: 468.3 kB / 1.114 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002311/0.9694, allocations: 0.832 MB / 1.115 GB, free: 7.484 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.9694, allocations: 1.125 kB / 1.115 GB, free: 7.484 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.006277/0.9757, allocations: 1.658 MB / 1.117 GB, free: 7.074 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.9757, allocations: 6.891 kB / 1.117 GB, free: 7.074 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/0.9758, allocations: 5.125 kB / 1.117 GB, free: 7.07 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004321/0.9801, allocations: 0.8726 MB / 1.118 GB, free: 6.969 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008138/0.9809, allocations: 128.3 kB / 1.118 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01006/0.991, allocations: 6.671 MB / 1.124 GB, free: 1.934 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.9921, allocations: 107.4 kB / 1.124 GB, free: 1.93 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001057/0.9922, allocations: 19.23 kB / 1.124 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001498/0.9937, allocations: 0.5743 MB / 1.125 GB, free: 1.695 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00117/0.9949, allocations: 459.4 kB / 1.125 GB, free: 1.5 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002261/0.9972, allocations: 0.818 MB / 1.126 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.707e-06/0.9972, allocations: 1.062 kB / 1.126 GB, free: 1.18 MB / 0.8731 GB Notification: Performance of matching and sorting (n=43) (initialization_lambda0): time 0.005536/1.003, allocations: 1.632 MB / 1.128 GB, free: 0.6055 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/1.003, allocations: 6.875 kB / 1.128 GB, free: 0.6055 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.003, allocations: 1.969 kB / 1.128 GB, free: 0.6055 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00295/1.006, allocations: 0.6439 MB / 1.128 GB, free: 0.5039 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000747/1.007, allocations: 135.4 kB / 1.128 GB, free: 0.4961 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008708/1.015, allocations: 7.295 MB / 1.136 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/1.016, allocations: 105.5 kB / 1.136 GB, free: 10.28 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.124e-05/1.016, allocations: 21.47 kB / 1.136 GB, free: 10.27 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (32): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,4,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002713/1.017, allocations: 198.7 kB / 1.136 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/1.017, allocations: 50.48 kB / 1.136 GB, free: 10.04 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00549/1.022, allocations: 1.539 MB / 1.137 GB, free: 9.633 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/1.022, allocations: 2.109 kB / 1.137 GB, free: 9.633 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/1.022, allocations: 1.156 kB / 1.137 GB, free: 9.633 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003773/1.023, allocations: 175.5 kB / 1.138 GB, free: 9.492 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/1.023, allocations: 6.438 kB / 1.138 GB, free: 9.488 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007149/1.024, allocations: 89.59 kB / 1.138 GB, free: 9.477 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001622/1.024, allocations: 33.81 kB / 1.138 GB, free: 9.473 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004036/1.028, allocations: 1.301 MB / 1.139 GB, free: 9.098 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0025/1.03, allocations: 1.238 MB / 1.14 GB, free: 8.383 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007743/1.031, allocations: 348.3 kB / 1.141 GB, free: 8.207 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0005058/1.032, allocations: 306.5 kB / 1.141 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of Backend: time 5.11e-07/1.032, allocations: 0 / 1.141 GB, free: 8.02 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.005134/1.037, allocations: 2.123 MB / 1.143 GB, free: 6.48 MB / 0.8887 GB Notification: Performance of SimCode: time 0.002299/1.039, allocations: 1.511 MB / 1.144 GB, free: 5.363 MB / 0.8887 GB Notification: Performance of Templates: time 0.03457/1.074, allocations: 17.35 MB / 1.161 GB, free: 12.65 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACSimpleGrid.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches