Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,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_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01049/0.01049, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001841/0.001841, allocations: 194.6 kB / 16.67 MB, free: 5.938 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.525/1.525, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.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.609/2.609, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 63.91 kB / 1.019 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3667, allocations: 151.6 MB / 1.167 GB, free: 6.75 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03769/0.4044, allocations: 32.6 MB / 1.198 GB, free: 6.035 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01902/0.4235, allocations: 10.27 MB / 1.208 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004292/0.4278, allocations: 151.2 kB / 1.209 GB, free: 11.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01/0.4379, allocations: 3.718 MB / 1.212 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006097/0.444, allocations: 1.85 MB / 1.214 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006017/0.4501, allocations: 2.147 MB / 1.216 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.009574/0.4596, allocations: 7.321 MB / 1.223 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01425/0.4739, allocations: 9.424 MB / 1.233 GB, free: 2.977 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007136/0.4811, allocations: 3.17 MB / 1.236 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007835/0.489, allocations: 3.485 MB / 1.239 GB, free: 12.3 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.002719/0.4918, allocations: 0.6445 MB / 1.24 GB, free: 11.66 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006292/0.4981, allocations: 1.771 MB / 1.241 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.005579/0.5037, allocations: 2.546 MB / 1.244 GB, free: 7.332 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.008021/0.5117, allocations: 2.894 MB / 1.247 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.8461/1.358, allocations: 10.13 MB / 1.257 GB, free: 32.5 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/1.358, allocations: 1.234 kB / 1.257 GB, free: 32.5 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.083e-06/1.358, allocations: 1.469 kB / 1.257 GB, free: 32.5 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004128/1.358, allocations: 0.5625 kB / 1.257 GB, free: 32.5 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01974/1.378, allocations: 5.121 MB / 1.262 GB, free: 30.47 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.819e-05/1.378, allocations: 10.95 kB / 1.262 GB, free: 30.47 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007801/1.386, allocations: 0.9785 MB / 1.263 GB, free: 30.19 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/1.397, allocations: 3.06 MB / 1.266 GB, free: 29.55 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006904/1.398, allocations: 345.3 kB / 1.266 GB, free: 29.54 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003961/1.402, allocations: 465.5 kB / 1.266 GB, free: 29.53 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0286/1.43, allocations: 7.662 MB / 1.274 GB, free: 28.52 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003092/1.431, allocations: 34.73 kB / 1.274 GB, free: 28.51 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001489/1.432, allocations: 202.2 kB / 1.274 GB, free: 28.51 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004647/1.433, allocations: 312.2 kB / 1.274 GB, free: 28.5 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01758/1.45, allocations: 5.709 MB / 1.28 GB, free: 28.45 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0462/1.497, allocations: 34.88 MB / 1.314 GB, free: 0.875 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002859/1.5, allocations: 2.165 MB / 1.316 GB, free: 15.65 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001804/1.501, allocations: 1.267 MB / 1.317 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 9.134e-05/1.501, allocations: 13.69 kB / 1.317 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.182e-05/1.502, allocations: 45.97 kB / 1.317 GB, free: 15.08 MB / 1.014 GB Notification: Performance of pre-optimization done (n=133): time 3.216e-06/1.502, allocations: 4 kB / 1.317 GB, free: 15.08 MB / 1.014 GB Notification: Performance of matching and sorting (n=136): time 0.01573/1.517, allocations: 7.15 MB / 1.324 GB, free: 11.32 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.624e-05/1.517, allocations: 65.81 kB / 1.324 GB, free: 11.26 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002649/1.52, allocations: 1.486 MB / 1.326 GB, free: 10.64 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001577/1.52, allocations: 46.52 kB / 1.326 GB, free: 10.6 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001615/1.522, allocations: 2.066 MB / 1.328 GB, free: 9.027 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005335/1.522, allocations: 0.5014 MB / 1.328 GB, free: 8.637 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005996/1.523, allocations: 346.8 kB / 1.329 GB, free: 8.465 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001147/1.523, allocations: 305.3 kB / 1.329 GB, free: 8.168 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/1.524, allocations: 0.9178 MB / 1.33 GB, free: 7.824 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002016/1.526, allocations: 1.589 MB / 1.331 GB, free: 6.613 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003619/1.53, allocations: 2.737 MB / 1.334 GB, free: 4.895 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-05/1.53, allocations: 6.406 kB / 1.334 GB, free: 4.895 MB / 1.014 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006833/1.537, allocations: 3.544 MB / 1.338 GB, free: 3.281 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.422e-05/1.537, allocations: 15.28 kB / 1.338 GB, free: 3.281 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/1.537, allocations: 24.38 kB / 1.338 GB, free: 3.281 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002635/1.54, allocations: 0.9076 MB / 1.339 GB, free: 2.781 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/1.541, allocations: 348.2 kB / 1.339 GB, free: 2.719 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02179/1.563, allocations: 23.12 MB / 1.361 GB, free: 13.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00269/1.565, allocations: 101.5 kB / 1.362 GB, free: 13.46 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/1.566, allocations: 86.88 kB / 1.362 GB, free: 13.45 MB / 1.045 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.004086/1.57, allocations: 1.599 MB / 1.363 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007249/1.57, allocations: 223.4 kB / 1.363 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005347/1.576, allocations: 2.99 MB / 1.366 GB, free: 10.61 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.435e-05/1.576, allocations: 19.92 kB / 1.366 GB, free: 10.6 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-05/1.576, allocations: 11.41 kB / 1.366 GB, free: 10.6 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/1.576, allocations: 11.34 kB / 1.366 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/1.588, allocations: 7.344 MB / 1.374 GB, free: 6.059 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.588, allocations: 4.531 kB / 1.374 GB, free: 6.059 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007451/1.589, allocations: 172.3 kB / 1.374 GB, free: 6.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002217/1.591, allocations: 0.8272 MB / 1.375 GB, free: 5.543 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/1.591, allocations: 31.92 kB / 1.375 GB, free: 5.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01928/1.61, allocations: 21.96 MB / 1.396 GB, free: 1.16 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.197e-06/1.61, allocations: 11.36 kB / 1.396 GB, free: 1.156 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005777/1.616, allocations: 3.028 MB / 1.399 GB, free: 14.13 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/1.617, allocations: 463.6 kB / 1.399 GB, free: 13.66 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/1.618, allocations: 35.89 kB / 1.399 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000844/1.619, allocations: 79.28 kB / 1.4 GB, free: 13.55 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003743/1.619, allocations: 120.2 kB / 1.4 GB, free: 13.44 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.382e-05/1.619, allocations: 36 kB / 1.4 GB, free: 13.4 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001357/1.62, allocations: 0.9795 MB / 1.401 GB, free: 12.4 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.3e-07/1.62, allocations: 0 / 1.401 GB, free: 12.4 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003478/1.624, allocations: 0.7852 MB / 1.401 GB, free: 11.61 MB / 1.076 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002898/1.624, allocations: 152.1 kB / 1.402 GB, free: 11.47 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005893/1.63, allocations: 4.036 MB / 1.405 GB, free: 7.395 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/1.63, allocations: 2.859 kB / 1.405 GB, free: 7.395 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003753/1.634, allocations: 2.74 MB / 1.408 GB, free: 4.527 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003632/1.637, allocations: 0.7288 MB / 1.409 GB, free: 3.832 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01375/1.651, allocations: 7.234 MB / 1.416 GB, free: 12.55 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0033/1.655, allocations: 3.112 MB / 1.419 GB, free: 9.418 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001532/1.656, allocations: 454 kB / 1.419 GB, free: 8.973 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002912/1.656, allocations: 115.4 kB / 1.42 GB, free: 8.859 MB / 1.092 GB Notification: Performance of SimCode: time 8.22e-07/1.656, allocations: 0 / 1.42 GB, free: 8.859 MB / 1.092 GB Notification: Performance of Templates: time 0.06716/1.724, allocations: 36.24 MB / 1.455 GB, free: 5.156 MB / 1.123 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches