Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001531/0.001531, allocations: 86.17 kB / 15.06 MB, free: 1.09 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.001963/0.001963, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.93/2.93, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004564/0.0004564, allocations: 9.156 kB / 0.9021 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3713, allocations: 159.6 MB / 1.058 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03724/0.4086, allocations: 31.79 MB / 1.089 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02602/0.4347, allocations: 10.92 MB / 1.1 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005624/0.4404, allocations: 135.2 kB / 1.1 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003638/0.4441, allocations: 0.6782 MB / 1.101 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007391/0.4515, allocations: 1.582 MB / 1.102 GB, free: 8.047 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006605/0.4581, allocations: 1.435 MB / 1.103 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01376/0.4719, allocations: 9.634 MB / 1.113 GB, free: 12.96 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02637/0.4983, allocations: 12.56 MB / 1.125 GB, free: 324 kB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006855/0.5052, allocations: 2.646 MB / 1.128 GB, free: 13.66 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007668/0.5129, allocations: 3.481 MB / 1.131 GB, free: 10.17 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002212/0.5152, allocations: 328 kB / 1.131 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005104/0.5203, allocations: 0.9676 MB / 1.132 GB, free: 8.879 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.005271/0.5256, allocations: 2.447 MB / 1.135 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003414/0.5291, allocations: 1.108 MB / 1.136 GB, free: 5.309 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.01385/0.5429, allocations: 9.927 MB / 1.146 GB, free: 11.36 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.543, allocations: 4 kB / 1.146 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.565e-06/0.543, allocations: 4 kB / 1.146 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0004953/0.5435, allocations: 0 / 1.146 GB, free: 11.35 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01356/0.5571, allocations: 4.714 MB / 1.15 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.5571, allocations: 8.031 kB / 1.15 GB, free: 6.555 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007251/0.5644, allocations: 1.059 MB / 1.151 GB, free: 5.488 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007824/0.5723, allocations: 3.208 MB / 1.154 GB, free: 2.223 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004692/0.5728, allocations: 407.1 kB / 1.155 GB, free: 1.824 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002218/0.575, allocations: 0.5428 MB / 1.155 GB, free: 1.281 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02631/0.6013, allocations: 9.032 MB / 1.164 GB, free: 7.926 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000368/0.6017, allocations: 27.69 kB / 1.164 GB, free: 7.898 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002036/0.6038, allocations: 236 kB / 1.164 GB, free: 7.668 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005213/0.6043, allocations: 350.8 kB / 1.165 GB, free: 7.324 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01741/0.6217, allocations: 6.779 MB / 1.171 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0567/0.6785, allocations: 40.18 MB / 1.211 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004428/0.683, allocations: 3.102 MB / 1.214 GB, free: 1.406 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003048/0.6861, allocations: 1.954 MB / 1.215 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001613/0.6862, allocations: 18 kB / 1.215 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.193e-05/0.6863, allocations: 52.56 kB / 1.216 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=179): time 5.881e-06/0.6863, allocations: 4 kB / 1.216 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of matching and sorting (n=182): time 0.02565/0.712, allocations: 9.877 MB / 1.225 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.7121, allocations: 73.41 kB / 1.225 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002599/0.7147, allocations: 1.507 MB / 1.227 GB, free: 3.762 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002034/0.7149, allocations: 53.7 kB / 1.227 GB, free: 3.703 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001688/0.7166, allocations: 2.246 MB / 1.229 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007367/0.7174, allocations: 0.6354 MB / 1.23 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.7175, allocations: 44 kB / 1.23 GB, free: 0.7383 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002139/0.7177, allocations: 398.4 kB / 1.23 GB, free: 352 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/0.7196, allocations: 1.172 MB / 1.231 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002323/0.7219, allocations: 1.873 MB / 1.233 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002277/0.7242, allocations: 1.509 MB / 1.234 GB, free: 11.46 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.649e-05/0.7242, allocations: 8 kB / 1.234 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.008159/0.7324, allocations: 4.551 MB / 1.239 GB, free: 6.879 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/0.7325, allocations: 19.95 kB / 1.239 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-05/0.7325, allocations: 24 kB / 1.239 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003845/0.7364, allocations: 1.579 MB / 1.24 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/0.7378, allocations: 351.4 kB / 1.241 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7321/1.47, allocations: 17.05 MB / 1.257 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/1.472, allocations: 124.4 kB / 1.258 GB, free: 164.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001922/1.472, allocations: 96.31 kB / 1.258 GB, free: 164.5 MB / 0.9981 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 (177): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,31.2%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003435/1.475, allocations: 1.885 MB / 1.26 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004808/1.476, allocations: 223 kB / 1.26 GB, free: 164.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007678/1.483, allocations: 4.078 MB / 1.264 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.17e-05/1.484, allocations: 17.31 kB / 1.264 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-05/1.484, allocations: 25.41 kB / 1.264 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.944e-05/1.484, allocations: 9.641 kB / 1.264 GB, free: 164.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01674/1.5, allocations: 9.437 MB / 1.273 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.381e-05/1.5, allocations: 4.875 kB / 1.273 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008141/1.501, allocations: 179.4 kB / 1.273 GB, free: 160.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003339/1.505, allocations: 1.354 MB / 1.274 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001531/1.505, allocations: 37.03 kB / 1.275 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01942/1.524, allocations: 15.96 MB / 1.29 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/1.524, allocations: 11.03 kB / 1.29 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006392/1.531, allocations: 4.052 MB / 1.294 GB, free: 148.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001172/1.532, allocations: 0.5297 MB / 1.295 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000275/1.532, allocations: 38.34 kB / 1.295 GB, free: 148.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008022/1.533, allocations: 87.64 kB / 1.295 GB, free: 148.3 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004763/1.533, allocations: 163.4 kB / 1.295 GB, free: 148.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/1.534, allocations: 51.45 kB / 1.295 GB, free: 148.3 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001306/1.535, allocations: 0.9865 MB / 1.296 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.535, allocations: 0 / 1.296 GB, free: 147.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003205/1.538, allocations: 0.9874 MB / 1.297 GB, free: 147.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00026/1.538, allocations: 153.6 kB / 1.297 GB, free: 147.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.005859/1.544, allocations: 4.283 MB / 1.301 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/1.544, allocations: 4.062 kB / 1.301 GB, free: 145.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003929/1.548, allocations: 2.666 MB / 1.304 GB, free: 144 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003893/1.552, allocations: 0.7136 MB / 1.304 GB, free: 143.7 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/1.566, allocations: 10.52 MB / 1.315 GB, free: 137.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004302/1.57, allocations: 3.573 MB / 1.318 GB, free: 133.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001775/1.572, allocations: 462.3 kB / 1.319 GB, free: 133.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003196/1.572, allocations: 119.4 kB / 1.319 GB, free: 132.9 MB / 0.9981 GB Notification: Performance of SimCode: time 1.263e-06/1.572, allocations: 0 / 1.319 GB, free: 132.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.06763/1.64, allocations: 40.82 MB / 1.359 GB, free: 92.58 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches