Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 110.4 kB / 16.42 MB, free: 6.512 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.001975/0.001975, allocations: 185.5 kB / 17.35 MB, free: 5.738 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.435/1.435, 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.267/2.267, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 59.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9301/0.9315, allocations: 140.4 MB / 1.089 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008659/0.9402, allocations: 6.805 MB / 1.095 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.006337/0.9466, allocations: 3.066 MB / 1.098 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008685/0.9475, allocations: 28.44 kB / 1.098 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.002752/0.9504, allocations: 0.9554 MB / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001963/0.9523, allocations: 0.522 MB / 1.1 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.954, allocations: 446.3 kB / 1.1 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002077/0.9561, allocations: 1.226 MB / 1.101 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001438/0.9575, allocations: 0.6593 MB / 1.102 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.9586, allocations: 483.1 kB / 1.102 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001143/0.9598, allocations: 0.5231 MB / 1.103 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001624/0.96, allocations: 66.56 kB / 1.103 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00133/0.9613, allocations: 382.6 kB / 1.103 GB, free: 12.55 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006174/0.9619, allocations: 302.9 kB / 1.104 GB, free: 12.43 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007272/0.9627, allocations: 451.3 kB / 1.104 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.9648, allocations: 1.222 MB / 1.105 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.9648, allocations: 0 / 1.105 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.615e-06/0.9648, allocations: 0 / 1.105 GB, free: 11.75 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.176e-05/0.9648, allocations: 0 / 1.105 GB, free: 11.75 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002683/0.9675, allocations: 1.172 MB / 1.106 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.9676, allocations: 7.969 kB / 1.106 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001703/0.9693, allocations: 239.2 kB / 1.107 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/0.9705, allocations: 0.6119 MB / 1.107 GB, free: 10.49 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/0.9705, allocations: 47.55 kB / 1.107 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.9707, allocations: 66.25 kB / 1.107 GB, free: 10.45 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/0.9726, allocations: 1.088 MB / 1.108 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.9727, allocations: 2.875 kB / 1.108 GB, free: 9.828 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.681e-05/0.9728, allocations: 34.88 kB / 1.108 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001925/0.973, allocations: 83.66 kB / 1.109 GB, free: 9.793 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001326/0.9743, allocations: 0.7533 MB / 1.109 GB, free: 9.52 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006959/0.9813, allocations: 5.877 MB / 1.115 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001401/0.9827, allocations: 0.5545 MB / 1.116 GB, free: 4.293 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006398/0.9834, allocations: 325 kB / 1.116 GB, free: 4.168 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.9834, allocations: 9.141 kB / 1.116 GB, free: 4.164 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.9834, allocations: 43.19 kB / 1.116 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=47): time 3.226e-06/0.9834, allocations: 0 / 1.116 GB, free: 4.117 MB / 0.8731 GB Notification: Performance of matching and sorting (n=48): time 0.004556/0.988, allocations: 1.985 MB / 1.118 GB, free: 3.066 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.9881, allocations: 56.73 kB / 1.118 GB, free: 3.004 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.9891, allocations: 0.5634 MB / 1.118 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.401e-05/0.9892, allocations: 37.69 kB / 1.119 GB, free: 2.699 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000338/0.9895, allocations: 418.2 kB / 1.119 GB, free: 2.363 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001623/0.9897, allocations: 170.6 kB / 1.119 GB, free: 2.23 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002862/0.99, allocations: 129.5 kB / 1.119 GB, free: 2.16 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001828/0.9902, allocations: 378.2 kB / 1.12 GB, free: 1.816 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004811/0.9907, allocations: 275.2 kB / 1.12 GB, free: 1.719 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006509/0.9913, allocations: 494.3 kB / 1.12 GB, free: 1.348 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001306/0.9927, allocations: 0.8102 MB / 1.121 GB, free: 0.8086 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/0.9927, allocations: 2.344 kB / 1.121 GB, free: 0.8086 MB / 0.8731 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002282/0.995, allocations: 1.084 MB / 1.122 GB, free: 356 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.692e-05/0.995, allocations: 8.469 kB / 1.122 GB, free: 356 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.995, allocations: 6.656 kB / 1.122 GB, free: 356 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.9961, allocations: 278.6 kB / 1.122 GB, free: 268 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000575/0.9967, allocations: 131.9 kB / 1.123 GB, free: 248 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00796/1.005, allocations: 7.129 MB / 1.13 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008286/1.005, allocations: 41.81 kB / 1.13 GB, free: 10 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/1.006, allocations: 32.02 kB / 1.13 GB, free: 9.992 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,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.0005621/1.006, allocations: 250.7 kB / 1.13 GB, free: 9.809 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/1.006, allocations: 75.28 kB / 1.13 GB, free: 9.77 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00187/1.008, allocations: 0.8922 MB / 1.131 GB, free: 9.371 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/1.008, allocations: 6.562 kB / 1.131 GB, free: 9.367 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/1.008, allocations: 0 / 1.131 GB, free: 9.367 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004386/1.009, allocations: 188.7 kB / 1.131 GB, free: 9.219 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001725/1.009, allocations: 10.95 kB / 1.131 GB, free: 9.211 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004561/1.009, allocations: 30.09 kB / 1.131 GB, free: 9.203 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/1.01, allocations: 43.23 kB / 1.131 GB, free: 9.199 MB / 0.8887 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002218/1.012, allocations: 0.9458 MB / 1.132 GB, free: 8.832 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001498/1.013, allocations: 1.052 MB / 1.133 GB, free: 8.324 MB / 0.8887 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004329/1.014, allocations: 262.5 kB / 1.133 GB, free: 8.246 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0006259/1.014, allocations: 389.9 kB / 1.134 GB, free: 8.07 MB / 0.8887 GB Notification: Performance of Backend: time 3.4e-07/1.014, allocations: 3.938 kB / 1.134 GB, free: 8.066 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003195/1.018, allocations: 1.308 MB / 1.135 GB, free: 7.281 MB / 0.8887 GB Notification: Performance of SimCode: time 0.003618/1.021, allocations: 1.953 MB / 1.137 GB, free: 6.074 MB / 0.8887 GB Notification: Performance of Templates: time 0.03111/1.052, allocations: 13.21 MB / 1.15 GB, free: 2.777 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches