Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001121/0.001121, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001217/0.001217, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.414/1.414, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 472.6 MB / 0.7448 GB, free: 4.832 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001326, allocations: 65.69 kB / 0.9116 GB, free: 33.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3901, allocations: 159.9 MB / 1.068 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.009178/0.3994, allocations: 6.817 MB / 1.074 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005525/0.4049, allocations: 3.048 MB / 1.077 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006736/0.4056, allocations: 23.81 kB / 1.077 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.4081, allocations: 0.9026 MB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001567/0.4097, allocations: 469.7 kB / 1.079 GB, free: 15.43 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.411, allocations: 399.3 kB / 1.079 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00175/0.4127, allocations: 1.236 MB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001345/0.4141, allocations: 0.7367 MB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001062/0.4151, allocations: 474.3 kB / 1.081 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001109/0.4163, allocations: 0.5409 MB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.000229/0.4165, allocations: 68 kB / 1.082 GB, free: 11.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.4175, allocations: 379.2 kB / 1.082 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0003711/0.4179, allocations: 307.2 kB / 1.083 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0005576/0.4185, allocations: 457.7 kB / 1.083 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.42, allocations: 1.23 MB / 1.084 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4201, allocations: 4 kB / 1.084 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4201, allocations: 0 / 1.084 GB, free: 9.617 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.468e-05/0.4201, allocations: 0 / 1.084 GB, free: 9.617 MB / 0.8419 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.00192/0.422, allocations: 1.169 MB / 1.086 GB, free: 8.395 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001178/0.4221, allocations: 12.03 kB / 1.086 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.4236, allocations: 235.6 kB / 1.086 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000779/0.4244, allocations: 0.5529 MB / 1.086 GB, free: 7.566 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.231e-05/0.4245, allocations: 53.67 kB / 1.086 GB, free: 7.516 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.4246, allocations: 60.38 kB / 1.086 GB, free: 7.457 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001607/0.4262, allocations: 1.089 MB / 1.087 GB, free: 6.258 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.24e-05/0.4263, allocations: 7.938 kB / 1.087 GB, free: 6.25 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.615e-05/0.4263, allocations: 27.98 kB / 1.087 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001425/0.4265, allocations: 85.25 kB / 1.088 GB, free: 6.137 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.4277, allocations: 0.7543 MB / 1.088 GB, free: 5.383 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006203/0.4339, allocations: 5.897 MB / 1.094 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009928/0.435, allocations: 0.5561 MB / 1.095 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000418/0.4354, allocations: 329.4 kB / 1.095 GB, free: 14.17 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.4354, allocations: 4.438 kB / 1.095 GB, free: 14.16 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.4355, allocations: 39 kB / 1.095 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=47): time 1.934e-06/0.4355, allocations: 0 / 1.095 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of matching and sorting (n=48): time 0.003925/0.4394, allocations: 1.994 MB / 1.097 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.4395, allocations: 55.84 kB / 1.097 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006502/0.4401, allocations: 0.5626 MB / 1.098 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/0.4402, allocations: 33.7 kB / 1.098 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002935/0.4405, allocations: 414.9 kB / 1.098 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.4406, allocations: 177.6 kB / 1.098 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003058/0.4409, allocations: 130.5 kB / 1.098 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002361/0.4412, allocations: 378.7 kB / 1.099 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004013/0.4416, allocations: 273.8 kB / 1.099 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005471/0.4421, allocations: 493 kB / 1.099 GB, free: 9.406 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001151/0.4433, allocations: 0.8094 MB / 1.1 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.4433, allocations: 0 / 1.1 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001837/0.4452, allocations: 1.09 MB / 1.101 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.4452, allocations: 10.75 kB / 1.101 GB, free: 7.379 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.4452, allocations: 11.94 kB / 1.101 GB, free: 7.367 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007959/0.446, allocations: 283.2 kB / 1.101 GB, free: 7.078 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004585/0.4465, allocations: 127.8 kB / 1.102 GB, free: 6.953 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00745/0.4539, allocations: 7.141 MB / 1.109 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006961/0.4547, allocations: 35.97 kB / 1.109 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-05/0.4547, allocations: 28 kB / 1.109 GB, free: 15.18 MB / 0.8731 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.0003888/0.4551, allocations: 257.5 kB / 1.109 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000107/0.4552, allocations: 71.16 kB / 1.109 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/0.457, allocations: 0.8887 MB / 1.11 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.457, allocations: 4 kB / 1.11 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.457, allocations: 4 kB / 1.11 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.457, allocations: 0 / 1.11 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003196/0.4602, allocations: 1.728 MB / 1.112 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4603, allocations: 4.188 kB / 1.112 GB, free: 12.11 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002562/0.4605, allocations: 63.83 kB / 1.112 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000722/0.4613, allocations: 263.2 kB / 1.112 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.397e-05/0.4613, allocations: 12 kB / 1.112 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00666/0.468, allocations: 7.138 MB / 1.119 GB, free: 4.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.468, allocations: 4.031 kB / 1.119 GB, free: 4.066 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.4696, allocations: 0.9757 MB / 1.12 GB, free: 3.043 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002782/0.4699, allocations: 200.1 kB / 1.12 GB, free: 2.828 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.132e-05/0.47, allocations: 12 kB / 1.12 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003635/0.4704, allocations: 39.84 kB / 1.12 GB, free: 2.777 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001186/0.4705, allocations: 39.94 kB / 1.12 GB, free: 2.738 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-05/0.4705, allocations: 16 kB / 1.12 GB, free: 2.723 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004376/0.471, allocations: 387.1 kB / 1.12 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.471, allocations: 0 / 1.12 GB, free: 2.348 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0008048/0.4718, allocations: 224 kB / 1.121 GB, free: 2.129 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (31): * Single equations (assignments): 27 * 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,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001548/0.4719, allocations: 123.1 kB / 1.121 GB, free: 1.996 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.002041/0.474, allocations: 1.33 MB / 1.122 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.474, allocations: 8.062 kB / 1.122 GB, free: 0.6094 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.4752, allocations: 0.8815 MB / 1.123 GB, free: 15.68 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009843/0.4762, allocations: 217.2 kB / 1.123 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.4785, allocations: 1.66 MB / 1.125 GB, free: 13.76 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006022/0.4791, allocations: 1.016 MB / 1.126 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0004092/0.4796, allocations: 122 kB / 1.126 GB, free: 12.6 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.4797, allocations: 43.44 kB / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of SimCode: time 3.21e-07/0.4797, allocations: 0 / 1.126 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of Templates: time 0.02144/0.5011, allocations: 11.25 MB / 1.137 GB, free: 1.434 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches