Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 181 kB / 24.08 MB, free: 424 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.014/1.014, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.801/1.801, allocations: 377.9 MB / 0.6239 GB, free: 8.43 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.812 GB, free: 1.484 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.095e-05/2.289e-05, allocations: 2.312 kB / 0.812 GB, free: 1.48 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.004508/0.004531, allocations: 4.808 MB / 0.8167 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002439/0.00697, allocations: 1.718 MB / 0.8184 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002583/0.007229, allocations: 44.31 kB / 0.8184 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005478/0.007776, allocations: 200.4 kB / 0.8186 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005883/0.008365, allocations: 448.2 kB / 0.819 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006237/0.008988, allocations: 406.8 kB / 0.8194 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0009876/0.009976, allocations: 1.275 MB / 0.8207 GB, free: 8.602 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005801/0.01056, allocations: 0.539 MB / 0.8212 GB, free: 8.059 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006361/0.01119, allocations: 0.6624 MB / 0.8218 GB, free: 7.395 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005413/0.01173, allocations: 0.4948 MB / 0.8223 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.576e-05/0.01181, allocations: 65.34 kB / 0.8224 GB, free: 6.836 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.01204, allocations: 135.9 kB / 0.8225 GB, free: 6.703 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.01225, allocations: 335 kB / 0.8228 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002054/0.01245, allocations: 308.1 kB / 0.8231 GB, free: 6.074 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005639/0.01302, allocations: 0.7474 MB / 0.8239 GB, free: 5.324 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.01302, allocations: 2.125 kB / 0.8239 GB, free: 5.324 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.012e-06/0.01302, allocations: 0 / 0.8239 GB, free: 5.324 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.01303, allocations: 0 / 0.8239 GB, free: 5.324 MB / 0.7761 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.001026/0.01405, allocations: 1.18 MB / 0.825 GB, free: 4.109 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.01409, allocations: 12.03 kB / 0.825 GB, free: 4.098 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007453/0.01484, allocations: 275.9 kB / 0.8253 GB, free: 3.828 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005661/0.0154, allocations: 0.551 MB / 0.8258 GB, free: 3.258 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.95e-05/0.01543, allocations: 53.62 kB / 0.8259 GB, free: 3.207 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.965e-05/0.0155, allocations: 64.36 kB / 0.8259 GB, free: 3.145 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007166/0.01622, allocations: 1.029 MB / 0.8269 GB, free: 1.91 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.01624, allocations: 8.125 kB / 0.8269 GB, free: 1.902 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.01628, allocations: 28.36 kB / 0.827 GB, free: 1.875 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/0.0164, allocations: 89.19 kB / 0.8271 GB, free: 1.789 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003128/0.01671, allocations: 292.6 kB / 0.8273 GB, free: 1.504 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00283/0.01954, allocations: 5.579 MB / 0.8328 GB, free: 11.74 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003713/0.01991, allocations: 264.6 kB / 0.833 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001207/0.02003, allocations: 111.5 kB / 0.8331 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.02006, allocations: 11.97 kB / 0.8332 GB, free: 11.35 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.404e-05/0.02008, allocations: 41.89 kB / 0.8332 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=47): time 1.774e-06/0.02009, allocations: 0 / 0.8332 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of matching and sorting (n=48): time 0.001503/0.02159, allocations: 0.8975 MB / 0.8341 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.356e-05/0.02162, allocations: 63.84 kB / 0.8341 GB, free: 10.31 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.02195, allocations: 0.5215 MB / 0.8346 GB, free: 9.777 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.02198, allocations: 37.7 kB / 0.8347 GB, free: 9.734 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.00021/0.02219, allocations: 494.5 kB / 0.8352 GB, free: 9.242 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 9.576e-05/0.02228, allocations: 186.4 kB / 0.8353 GB, free: 9.059 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/0.0224, allocations: 132.2 kB / 0.8355 GB, free: 8.922 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.02256, allocations: 0.5468 MB / 0.836 GB, free: 8.363 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.02266, allocations: 85.92 kB / 0.8361 GB, free: 8.277 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002404/0.0229, allocations: 400.6 kB / 0.8365 GB, free: 7.758 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003859/0.02329, allocations: 0.5311 MB / 0.837 GB, free: 7.098 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.02329, allocations: 8 kB / 0.837 GB, free: 7.09 MB / 0.7917 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007112/0.024, allocations: 0.6788 MB / 0.8376 GB, free: 6.383 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.02402, allocations: 10.66 kB / 0.8377 GB, free: 6.375 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.02403, allocations: 4 kB / 0.8377 GB, free: 6.371 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006667/0.0247, allocations: 302.8 kB / 0.8379 GB, free: 6.059 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.02492, allocations: 111.8 kB / 0.8381 GB, free: 5.949 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003609/0.02853, allocations: 7.482 MB / 0.8454 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002063/0.02873, allocations: 16 kB / 0.8454 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.684e-05/0.02876, allocations: 31.98 kB / 0.8454 GB, free: 13.96 MB / 0.8073 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.0001414/0.0289, allocations: 196.4 kB / 0.8456 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.988e-05/0.02898, allocations: 87.52 kB / 0.8457 GB, free: 13.68 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005609/0.02954, allocations: 0.4948 MB / 0.8462 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.02955, allocations: 4 kB / 0.8462 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.02955, allocations: 7.938 kB / 0.8462 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.02956, allocations: 3.984 kB / 0.8462 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001059/0.03062, allocations: 1.014 MB / 0.8472 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.03062, allocations: 3.938 kB / 0.8472 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/0.03073, allocations: 47.92 kB / 0.8472 GB, free: 12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000582/0.03131, allocations: 290.7 kB / 0.8475 GB, free: 11.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.03133, allocations: 8 kB / 0.8475 GB, free: 11.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003287/0.03462, allocations: 7.465 MB / 0.8548 GB, free: 3.762 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.03462, allocations: 0 / 0.8548 GB, free: 3.762 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006154/0.03523, allocations: 0.6937 MB / 0.8555 GB, free: 3.012 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.03536, allocations: 107.5 kB / 0.8556 GB, free: 2.906 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.03539, allocations: 8 kB / 0.8556 GB, free: 2.898 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.03554, allocations: 12 kB / 0.8556 GB, free: 2.887 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.0356, allocations: 43.86 kB / 0.8556 GB, free: 2.844 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.03562, allocations: 12 kB / 0.8556 GB, free: 2.832 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001644/0.03578, allocations: 322.7 kB / 0.8559 GB, free: 2.52 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.1e-08/0.03578, allocations: 8 kB / 0.856 GB, free: 2.512 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004867/0.03627, allocations: 220 kB / 0.8562 GB, free: 2.297 MB / 0.8073 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.0001097/0.03638, allocations: 111.2 kB / 0.8563 GB, free: 2.18 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0009284/0.03731, allocations: 1.147 MB / 0.8574 GB, free: 0.9609 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/0.03731, allocations: 3.938 kB / 0.8574 GB, free: 0.957 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0006087/0.03792, allocations: 0.942 MB / 0.8583 GB, free: 15.94 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005908/0.03851, allocations: 200.3 kB / 0.8585 GB, free: 15.75 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.04003, allocations: 1.272 MB / 0.8597 GB, free: 14.41 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.04018, allocations: 207.4 kB / 0.8599 GB, free: 14.19 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001861/0.04037, allocations: 81.55 kB / 0.86 GB, free: 14.11 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.04066, allocations: 242.1 kB / 0.8603 GB, free: 13.87 MB / 0.823 GB Notification: Performance of SimCode: time 9.32e-07/0.04066, allocations: 0 / 0.8603 GB, free: 13.87 MB / 0.823 GB Notification: Performance of Templates: time 0.01367/0.05433, allocations: 12.11 MB / 0.8721 GB, free: 2 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.26116122212261]