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.005821/0.005821, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001245/0.001245, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.681/2.681, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.91 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4137, allocations: 151.6 MB / 1.167 GB, free: 6.773 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03846/0.4523, allocations: 32.6 MB / 1.198 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01966/0.472, allocations: 10.27 MB / 1.209 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00398/0.476, allocations: 147.3 kB / 1.209 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01054/0.4866, allocations: 3.717 MB / 1.212 GB, free: 7.887 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.007531/0.4941, allocations: 1.956 MB / 1.214 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.007009/0.5012, allocations: 2.136 MB / 1.216 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01076/0.5119, allocations: 7.345 MB / 1.223 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01472/0.5267, allocations: 9.42 MB / 1.233 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007004/0.5338, allocations: 3.225 MB / 1.236 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007096/0.5409, allocations: 3.485 MB / 1.239 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.001996/0.5429, allocations: 0.6445 MB / 1.24 GB, free: 11.51 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005229/0.5482, allocations: 1.767 MB / 1.242 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.004181/0.5524, allocations: 2.546 MB / 1.244 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.006713/0.5591, allocations: 2.902 MB / 1.247 GB, free: 4.277 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.8437/1.403, allocations: 10.13 MB / 1.257 GB, free: 32.53 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.546e-06/1.403, allocations: 0 / 1.257 GB, free: 32.53 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.076e-06/1.403, allocations: 0.6875 kB / 1.257 GB, free: 32.53 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0004603/1.403, allocations: 0 / 1.257 GB, free: 32.53 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.02402/1.427, allocations: 5.122 MB / 1.262 GB, free: 30.5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.616e-05/1.427, allocations: 14.84 kB / 1.262 GB, free: 30.5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00796/1.435, allocations: 0.9817 MB / 1.263 GB, free: 30.22 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01138/1.447, allocations: 3.051 MB / 1.266 GB, free: 29.57 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005469/1.447, allocations: 348.5 kB / 1.266 GB, free: 29.56 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003827/1.451, allocations: 465.7 kB / 1.266 GB, free: 29.56 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02525/1.477, allocations: 7.664 MB / 1.274 GB, free: 28.55 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004257/1.477, allocations: 31.23 kB / 1.274 GB, free: 28.54 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001912/1.479, allocations: 200.9 kB / 1.274 GB, free: 28.54 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000604/1.48, allocations: 315.8 kB / 1.274 GB, free: 28.52 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01688/1.496, allocations: 5.712 MB / 1.28 GB, free: 28.47 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05064/1.547, allocations: 34.89 MB / 1.314 GB, free: 0.9414 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003591/1.551, allocations: 2.153 MB / 1.316 GB, free: 15.72 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002084/1.553, allocations: 1.264 MB / 1.317 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001024/1.553, allocations: 13.97 kB / 1.317 GB, free: 15.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.857e-05/1.553, allocations: 43.88 kB / 1.318 GB, free: 15.16 MB / 1.014 GB Notification: Performance of pre-optimization done (n=133): time 3.136e-06/1.553, allocations: 1.281 kB / 1.318 GB, free: 15.16 MB / 1.014 GB Notification: Performance of matching and sorting (n=136): time 0.01615/1.569, allocations: 7.15 MB / 1.325 GB, free: 11.4 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/1.569, allocations: 65.69 kB / 1.325 GB, free: 11.34 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002673/1.572, allocations: 1.491 MB / 1.326 GB, free: 10.72 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/1.572, allocations: 51.45 kB / 1.326 GB, free: 10.67 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001654/1.574, allocations: 2.063 MB / 1.328 GB, free: 9.102 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005449/1.574, allocations: 0.509 MB / 1.329 GB, free: 8.707 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006323/1.575, allocations: 346.8 kB / 1.329 GB, free: 8.535 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001082/1.575, allocations: 302.3 kB / 1.329 GB, free: 8.238 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001692/1.577, allocations: 0.9141 MB / 1.33 GB, free: 7.902 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002573/1.579, allocations: 1.591 MB / 1.332 GB, free: 6.688 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004287/1.584, allocations: 2.743 MB / 1.334 GB, free: 4.965 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.494e-05/1.584, allocations: 5.875 kB / 1.334 GB, free: 4.965 MB / 1.014 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006953/1.591, allocations: 3.537 MB / 1.338 GB, free: 3.277 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/1.591, allocations: 15.97 kB / 1.338 GB, free: 3.277 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.968e-05/1.591, allocations: 26.44 kB / 1.338 GB, free: 3.273 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002707/1.593, allocations: 0.9072 MB / 1.339 GB, free: 2.773 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/1.595, allocations: 348.5 kB / 1.339 GB, free: 2.711 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02156/1.616, allocations: 23.13 MB / 1.362 GB, free: 13.51 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002996/1.619, allocations: 97.14 kB / 1.362 GB, free: 13.46 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002039/1.62, allocations: 89.17 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.004673/1.624, allocations: 1.602 MB / 1.363 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006015/1.625, allocations: 212.5 kB / 1.364 GB, free: 12.37 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005161/1.63, allocations: 3.005 MB / 1.367 GB, free: 10.6 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-05/1.63, allocations: 14.78 kB / 1.367 GB, free: 10.6 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.526e-05/1.63, allocations: 12.08 kB / 1.367 GB, free: 10.6 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.083e-05/1.63, allocations: 7.969 kB / 1.367 GB, free: 10.59 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01307/1.643, allocations: 7.337 MB / 1.374 GB, free: 6.059 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/1.643, allocations: 7.562 kB / 1.374 GB, free: 6.059 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007218/1.644, allocations: 168.8 kB / 1.374 GB, free: 6.02 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002188/1.646, allocations: 0.8336 MB / 1.375 GB, free: 5.535 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.256e-05/1.646, allocations: 23.53 kB / 1.375 GB, free: 5.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01911/1.665, allocations: 21.96 MB / 1.396 GB, free: 1.164 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.946e-06/1.665, allocations: 18.34 kB / 1.396 GB, free: 1.16 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005852/1.671, allocations: 3.032 MB / 1.399 GB, free: 14.16 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001582/1.673, allocations: 467.6 kB / 1.4 GB, free: 13.68 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003082/1.673, allocations: 31.95 kB / 1.4 GB, free: 13.65 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008966/1.674, allocations: 75.84 kB / 1.4 GB, free: 13.58 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005109/1.675, allocations: 131.2 kB / 1.4 GB, free: 13.46 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.55e-05/1.675, allocations: 36 kB / 1.4 GB, free: 13.42 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001563/1.676, allocations: 0.9746 MB / 1.401 GB, free: 12.43 MB / 1.076 GB Notification: Performance of sort global known variables: time 2.61e-07/1.676, allocations: 0 / 1.401 GB, free: 12.43 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.004529/1.681, allocations: 0.7891 MB / 1.402 GB, free: 11.64 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.0003247/1.681, allocations: 149.2 kB / 1.402 GB, free: 11.5 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.00668/1.688, allocations: 4.039 MB / 1.406 GB, free: 7.418 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 8.256e-06/1.688, allocations: 0 / 1.406 GB, free: 7.418 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.004081/1.692, allocations: 2.741 MB / 1.408 GB, free: 4.551 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003699/1.696, allocations: 0.7245 MB / 1.409 GB, free: 3.855 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/1.711, allocations: 7.228 MB / 1.416 GB, free: 12.59 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003788/1.714, allocations: 3.114 MB / 1.419 GB, free: 9.449 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001591/1.716, allocations: 450 kB / 1.42 GB, free: 9.008 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002979/1.716, allocations: 115.4 kB / 1.42 GB, free: 8.895 MB / 1.092 GB Notification: Performance of SimCode: time 1.092e-06/1.716, allocations: 0 / 1.42 GB, free: 8.895 MB / 1.092 GB Notification: Performance of Templates: time 0.06835/1.785, allocations: 36.24 MB / 1.455 GB, free: 5.195 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