Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008268/0.008268, allocations: 104.8 kB / 15.74 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.001573/0.001574, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.651/2.651, allocations: 390.2 MB / 0.6648 GB, free: 232 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.001291, allocations: 67.84 kB / 0.9509 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3674, allocations: 140.4 MB / 1.088 GB, free: 1.516 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03449/0.402, allocations: 30.76 MB / 1.118 GB, free: 2.652 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02275/0.4247, allocations: 13.6 MB / 1.131 GB, free: 5.016 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00435/0.4291, allocations: 143.2 kB / 1.131 GB, free: 4.875 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.008754/0.438, allocations: 3.206 MB / 1.135 GB, free: 1.664 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009699/0.4477, allocations: 2.649 MB / 1.137 GB, free: 15 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006617/0.4543, allocations: 2.015 MB / 1.139 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01299/0.4673, allocations: 7.628 MB / 1.147 GB, free: 5.332 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01188/0.4793, allocations: 8.236 MB / 1.155 GB, free: 12.98 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006761/0.486, allocations: 3.416 MB / 1.158 GB, free: 9.555 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006717/0.4928, allocations: 3.387 MB / 1.161 GB, free: 6.156 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002341/0.4952, allocations: 0.5938 MB / 1.162 GB, free: 5.562 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004954/0.5001, allocations: 1.494 MB / 1.163 GB, free: 4.066 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.004166/0.5043, allocations: 2.366 MB / 1.166 GB, free: 1.695 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.006747/0.5111, allocations: 2.878 MB / 1.168 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01475/0.5259, allocations: 9.465 MB / 1.178 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.5259, allocations: 3.938 kB / 1.178 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5259, allocations: 0 / 1.178 GB, free: 5.309 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0003823/0.5263, allocations: 0 / 1.178 GB, free: 5.309 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01521/0.5416, allocations: 5.132 MB / 1.183 GB, free: 100 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 7.026e-05/0.5416, allocations: 12.03 kB / 1.183 GB, free: 88 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006614/0.5483, allocations: 0.9982 MB / 1.184 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007728/0.556, allocations: 3.067 MB / 1.187 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002774/0.5563, allocations: 316.8 kB / 1.187 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001381/0.5577, allocations: 424 kB / 1.187 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01479/0.5725, allocations: 6.796 MB / 1.194 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001976/0.5728, allocations: 23.77 kB / 1.194 GB, free: 4.09 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009352/0.5737, allocations: 184 kB / 1.194 GB, free: 3.91 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009676/0.5747, allocations: 372 kB / 1.195 GB, free: 3.543 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01242/0.5871, allocations: 5.114 MB / 1.2 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04512/0.6323, allocations: 30.51 MB / 1.229 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003279/0.6356, allocations: 1.387 MB / 1.231 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002777/0.6384, allocations: 1.324 MB / 1.232 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.6385, allocations: 17.31 kB / 1.232 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001758/0.6387, allocations: 47.88 kB / 1.232 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=130): time 5.11e-06/0.6388, allocations: 3.938 kB / 1.232 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of matching and sorting (n=199): time 0.09443/0.7332, allocations: 23.09 MB / 1.255 GB, free: 3.125 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.7333, allocations: 77.39 kB / 1.255 GB, free: 3.039 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003316/0.7366, allocations: 2.058 MB / 1.257 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000422/0.7371, allocations: 57.7 kB / 1.257 GB, free: 0.9023 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.6964/1.433, allocations: 2.015 MB / 1.259 GB, free: 154.9 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008778/1.434, allocations: 0.675 MB / 1.259 GB, free: 154.6 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008514/1.435, allocations: 414.7 kB / 1.26 GB, free: 154.6 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 5.618e-05/1.435, allocations: 304.9 kB / 1.26 GB, free: 154.3 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00238/1.438, allocations: 1.429 MB / 1.261 GB, free: 154.3 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002805/1.441, allocations: 2.012 MB / 1.263 GB, free: 153.2 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005218/1.446, allocations: 3.694 MB / 1.267 GB, free: 151.2 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-05/1.446, allocations: 4.625 kB / 1.267 GB, free: 151.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01276/1.459, allocations: 5.66 MB / 1.273 GB, free: 148.8 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 7.435e-05/1.459, allocations: 14.06 kB / 1.273 GB, free: 148.8 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.395e-05/1.459, allocations: 25.05 kB / 1.273 GB, free: 148.8 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007972/1.467, allocations: 2.081 MB / 1.275 GB, free: 148.2 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001822/1.469, allocations: 383.9 kB / 1.275 GB, free: 148.2 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03566/1.504, allocations: 38.43 MB / 1.312 GB, free: 116.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003034/1.507, allocations: 126.9 kB / 1.313 GB, free: 116.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003164/1.508, allocations: 88.3 kB / 1.313 GB, free: 116.8 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.003054/1.511, allocations: 1.502 MB / 1.314 GB, free: 116.1 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006174/1.511, allocations: 286.7 kB / 1.314 GB, free: 116 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/1.521, allocations: 5.219 MB / 1.32 GB, free: 113.8 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.396e-05/1.522, allocations: 18.84 kB / 1.32 GB, free: 113.8 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.809e-05/1.522, allocations: 17.62 kB / 1.32 GB, free: 113.8 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.567e-05/1.522, allocations: 14.52 kB / 1.32 GB, free: 113.8 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01872/1.54, allocations: 9.674 MB / 1.329 GB, free: 109.7 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/1.54, allocations: 7.844 kB / 1.329 GB, free: 109.7 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000836/1.541, allocations: 217.6 kB / 1.329 GB, free: 109.6 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005191/1.546, allocations: 1.837 MB / 1.331 GB, free: 108.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002135/1.547, allocations: 47.69 kB / 1.331 GB, free: 108.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0275/1.574, allocations: 37.44 MB / 1.368 GB, free: 73.37 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/1.574, allocations: 11.94 kB / 1.368 GB, free: 73.36 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007973/1.582, allocations: 4.912 MB / 1.372 GB, free: 68.29 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001544/1.584, allocations: 0.6147 MB / 1.373 GB, free: 67.65 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003692/1.584, allocations: 43.98 kB / 1.373 GB, free: 67.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/1.586, allocations: 135.8 kB / 1.373 GB, free: 67.47 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006093/1.586, allocations: 185.6 kB / 1.373 GB, free: 67.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/1.586, allocations: 60 kB / 1.373 GB, free: 67.23 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001638/1.588, allocations: 1.378 MB / 1.375 GB, free: 65.84 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.588, allocations: 4 kB / 1.375 GB, free: 65.84 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003766/1.592, allocations: 1.047 MB / 1.376 GB, free: 64.79 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003161/1.592, allocations: 169.4 kB / 1.376 GB, free: 64.62 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008737/1.601, allocations: 6.301 MB / 1.382 GB, free: 58.11 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.451e-05/1.601, allocations: 0 / 1.382 GB, free: 58.11 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.006154/1.607, allocations: 4.395 MB / 1.386 GB, free: 53.49 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004423/1.612, allocations: 0.9846 MB / 1.387 GB, free: 52.55 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01309/1.625, allocations: 8.05 MB / 1.395 GB, free: 44.46 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002738/1.627, allocations: 3.123 MB / 1.398 GB, free: 41.31 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001733/1.629, allocations: 0.5276 MB / 1.399 GB, free: 40.78 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/1.63, allocations: 143.4 kB / 1.399 GB, free: 40.64 MB / 1.014 GB Notification: Performance of SimCode: time 1.342e-06/1.63, allocations: 0 / 1.399 GB, free: 40.64 MB / 1.014 GB Notification: Performance of Templates: time 0.08894/1.718, allocations: 58.5 MB / 1.456 GB, free: 15.01 MB / 1.045 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches