Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.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.001187/0.001187, allocations: 114.5 kB / 16.42 MB, free: 6.039 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.001259/0.001259, allocations: 186.2 kB / 17.34 MB, free: 5.625 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.445/1.445, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.553/2.553, allocations: 437 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.003038/0.003038, allocations: 71.83 kB / 1.019 GB, free: 9.402 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9086/0.9117, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007983/0.9197, allocations: 5.554 MB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004746/0.9245, allocations: 2.646 MB / 1.175 GB, free: 11.62 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000688/0.9252, allocations: 23.81 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002089/0.9273, allocations: 0.6817 MB / 1.176 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001262/0.9286, allocations: 425.7 kB / 1.176 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001537/0.9301, allocations: 404.7 kB / 1.177 GB, free: 10.1 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00213/0.9323, allocations: 0.9591 MB / 1.178 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.9333, allocations: 463 kB / 1.178 GB, free: 8.68 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009592/0.9343, allocations: 386.5 kB / 1.179 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009586/0.9353, allocations: 406.4 kB / 1.179 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001997/0.9355, allocations: 48 kB / 1.179 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001145/0.9366, allocations: 363.3 kB / 1.179 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.00048/0.9371, allocations: 259.2 kB / 1.18 GB, free: 7.246 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006335/0.9378, allocations: 346.3 kB / 1.18 GB, free: 6.906 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00163/0.9394, allocations: 0.9767 MB / 1.181 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.9394, allocations: 0 / 1.181 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9394, allocations: 0 / 1.181 GB, free: 5.926 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.9395, allocations: 0 / 1.181 GB, free: 5.926 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001692/0.9412, allocations: 1 MB / 1.182 GB, free: 4.871 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.9412, allocations: 12.92 kB / 1.182 GB, free: 4.859 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.9426, allocations: 196.2 kB / 1.182 GB, free: 4.668 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008144/0.9435, allocations: 0.5339 MB / 1.183 GB, free: 4.094 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.9435, allocations: 41.36 kB / 1.183 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.9437, allocations: 44.56 kB / 1.183 GB, free: 4.012 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.9448, allocations: 0.8318 MB / 1.183 GB, free: 3.102 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.9448, allocations: 4 kB / 1.183 GB, free: 3.098 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.966e-05/0.9449, allocations: 27.98 kB / 1.183 GB, free: 3.07 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001931/0.9451, allocations: 60.95 kB / 1.184 GB, free: 3.008 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009022/0.946, allocations: 0.5774 MB / 1.184 GB, free: 2.434 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004529/0.9506, allocations: 4.574 MB / 1.189 GB, free: 13.5 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004762/0.9511, allocations: 295.3 kB / 1.189 GB, free: 13.21 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003587/0.9514, allocations: 221.3 kB / 1.189 GB, free: 12.99 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.9515, allocations: 4.281 kB / 1.189 GB, free: 12.98 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.9515, allocations: 42.84 kB / 1.189 GB, free: 12.93 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/0.9515, allocations: 0 / 1.189 GB, free: 12.93 MB / 0.92 GB Notification: Performance of matching and sorting (n=40): time 0.005618/0.9571, allocations: 2.651 MB / 1.192 GB, free: 10.16 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.946e-05/0.9572, allocations: 55.41 kB / 1.192 GB, free: 10.09 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004789/0.9577, allocations: 462.1 kB / 1.192 GB, free: 9.625 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.758e-05/0.9578, allocations: 33.7 kB / 1.192 GB, free: 9.586 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002179/0.958, allocations: 360.5 kB / 1.193 GB, free: 9.23 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.9581, allocations: 146.7 kB / 1.193 GB, free: 9.086 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.9583, allocations: 106.2 kB / 1.193 GB, free: 8.977 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000155/0.9584, allocations: 370.7 kB / 1.193 GB, free: 8.605 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.9588, allocations: 237 kB / 1.193 GB, free: 8.375 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004818/0.9593, allocations: 402.5 kB / 1.194 GB, free: 7.906 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009507/0.9603, allocations: 0.674 MB / 1.194 GB, free: 7.16 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.9603, allocations: 0 / 1.194 GB, free: 7.16 MB / 0.92 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001656/0.9619, allocations: 0.9211 MB / 1.195 GB, free: 6.223 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.962, allocations: 11.94 kB / 1.195 GB, free: 6.211 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.962, allocations: 8 kB / 1.195 GB, free: 6.203 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007817/0.9628, allocations: 223 kB / 1.196 GB, free: 5.977 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005067/0.9633, allocations: 123.7 kB / 1.196 GB, free: 5.855 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005115/0.9684, allocations: 5.348 MB / 1.201 GB, free: 92 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004156/0.9689, allocations: 36.03 kB / 1.201 GB, free: 56 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.876e-05/0.9689, allocations: 20 kB / 1.201 GB, free: 36 kB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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): 3 systems {(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.0003208/0.9692, allocations: 225.6 kB / 1.201 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.243e-05/0.9693, allocations: 63.7 kB / 1.201 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.9709, allocations: 0.7773 MB / 1.202 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.9709, allocations: 7.984 kB / 1.202 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.9709, allocations: 0 / 1.202 GB, free: 14.94 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/0.9711, allocations: 168.7 kB / 1.202 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.697e-05/0.9712, allocations: 7.938 kB / 1.202 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003005/0.9715, allocations: 31.97 kB / 1.202 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.065e-05/0.9716, allocations: 31.94 kB / 1.202 GB, free: 14.68 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001937/0.9735, allocations: 0.8578 MB / 1.203 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001214/0.9748, allocations: 0.965 MB / 1.204 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000332/0.9751, allocations: 235.8 kB / 1.204 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003454/0.9754, allocations: 318.9 kB / 1.205 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of Backend: time 9.32e-07/0.9755, allocations: 3.938 kB / 1.205 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.002379/0.9778, allocations: 1.069 MB / 1.206 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of SimCode: time 0.002616/0.9805, allocations: 1.804 MB / 1.207 GB, free: 9.32 MB / 0.9356 GB Notification: Performance of Templates: time 0.01825/0.9987, allocations: 11.11 MB / 1.218 GB, free: 14.34 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches