Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001364/0.001364, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001364/0.001364, allocations: 169 kB / 23.27 MB, free: 1.223 MB / 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 0.9291/0.9291, allocations: 177.1 MB / 203.7 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.236/2.236, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.8897 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.69e-05/1.826e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.723 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.005941/0.00596, allocations: 4.808 MB / 0.8944 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002198/0.008158, allocations: 1.715 MB / 0.8961 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003095/0.008467, allocations: 39.62 kB / 0.8962 GB, free: 3.129 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005157/0.008983, allocations: 206.5 kB / 0.8963 GB, free: 2.926 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0005864/0.009569, allocations: 453 kB / 0.8968 GB, free: 2.48 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.01014, allocations: 395.1 kB / 0.8972 GB, free: 2.094 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0009738/0.01111, allocations: 1.279 MB / 0.8984 GB, free: 0.8086 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005895/0.0117, allocations: 0.5371 MB / 0.8989 GB, free: 268 kB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006594/0.01236, allocations: 0.6741 MB / 0.8996 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005019/0.01286, allocations: 498.6 kB / 0.9001 GB, free: 15.1 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 7.485e-05/0.01294, allocations: 72 kB / 0.9001 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002061/0.01315, allocations: 135.8 kB / 0.9003 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.000189/0.01333, allocations: 335 kB / 0.9006 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002072/0.01354, allocations: 311.2 kB / 0.9009 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0005673/0.01411, allocations: 0.7357 MB / 0.9016 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.01411, allocations: 0 / 0.9016 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.002e-06/0.01411, allocations: 0 / 0.9016 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.016e-05/0.01412, allocations: 0 / 0.9016 GB, free: 13.52 MB / 0.8698 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.001041/0.01516, allocations: 1.18 MB / 0.9028 GB, free: 12.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.0152, allocations: 8.625 kB / 0.9028 GB, free: 12.29 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006944/0.01589, allocations: 287.8 kB / 0.903 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005155/0.01641, allocations: 0.5484 MB / 0.9036 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.01644, allocations: 49.67 kB / 0.9036 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.535e-05/0.0165, allocations: 64.36 kB / 0.9037 GB, free: 11.33 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00068/0.01718, allocations: 1.033 MB / 0.9047 GB, free: 10.09 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.096e-05/0.0172, allocations: 8.078 kB / 0.9047 GB, free: 10.08 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.193e-05/0.01724, allocations: 36.36 kB / 0.9047 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-05/0.01733, allocations: 89.19 kB / 0.9048 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003239/0.01766, allocations: 288.5 kB / 0.9051 GB, free: 9.676 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003366/0.02102, allocations: 5.577 MB / 0.9105 GB, free: 3.906 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004172/0.02144, allocations: 253.7 kB / 0.9108 GB, free: 3.641 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.02157, allocations: 117.1 kB / 0.9109 GB, free: 3.523 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.765e-05/0.0216, allocations: 8.5 kB / 0.9109 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.02162, allocations: 37.89 kB / 0.9109 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 2.765e-06/0.02163, allocations: 4 kB / 0.9109 GB, free: 3.465 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48): time 0.001513/0.02314, allocations: 0.9045 MB / 0.9118 GB, free: 2.539 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.638e-05/0.02317, allocations: 55.91 kB / 0.9119 GB, free: 2.473 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002996/0.02347, allocations: 0.5255 MB / 0.9124 GB, free: 1.93 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.0235, allocations: 33.7 kB / 0.9124 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/0.02368, allocations: 486.4 kB / 0.9129 GB, free: 1.406 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.583e-05/0.02377, allocations: 182.5 kB / 0.9131 GB, free: 1.227 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.02389, allocations: 136.2 kB / 0.9132 GB, free: 1.086 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001355/0.02403, allocations: 0.5507 MB / 0.9137 GB, free: 0.5234 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.733e-05/0.02412, allocations: 85.88 kB / 0.9138 GB, free: 452 kB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/0.02436, allocations: 400.6 kB / 0.9142 GB, free: 15.92 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003808/0.02474, allocations: 0.5428 MB / 0.9147 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.02474, allocations: 0 / 0.9147 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0007034/0.02545, allocations: 0.6755 MB / 0.9154 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.02547, allocations: 8 kB / 0.9154 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.02548, allocations: 8 kB / 0.9154 GB, free: 14.53 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000637/0.02611, allocations: 302.4 kB / 0.9157 GB, free: 14.21 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.02633, allocations: 107.8 kB / 0.9158 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003307/0.02964, allocations: 7.481 MB / 0.9231 GB, free: 6.168 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002749/0.02992, allocations: 23.98 kB / 0.9231 GB, free: 6.145 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.737e-05/0.02994, allocations: 32.05 kB / 0.9231 GB, free: 6.113 MB / 0.8855 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.000164/0.03011, allocations: 192.4 kB / 0.9233 GB, free: 5.914 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.956e-05/0.03019, allocations: 91.52 kB / 0.9234 GB, free: 5.824 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005608/0.03075, allocations: 0.5025 MB / 0.9239 GB, free: 5.301 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.03075, allocations: 4 kB / 0.9239 GB, free: 5.297 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.03076, allocations: 7.938 kB / 0.9239 GB, free: 5.289 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.03076, allocations: 0 / 0.9239 GB, free: 5.289 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.03181, allocations: 1.007 MB / 0.9249 GB, free: 4.207 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.03181, allocations: 8.188 kB / 0.9249 GB, free: 4.199 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.03193, allocations: 47.91 kB / 0.925 GB, free: 4.152 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005729/0.0325, allocations: 278.5 kB / 0.9252 GB, free: 3.863 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.051e-05/0.03252, allocations: 15.94 kB / 0.9252 GB, free: 3.848 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003037/0.03556, allocations: 7.469 MB / 0.9325 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.03556, allocations: 0 / 0.9325 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005846/0.03614, allocations: 0.6894 MB / 0.9332 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.03628, allocations: 99.52 kB / 0.9333 GB, free: 11.07 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.647e-05/0.03631, allocations: 12 kB / 0.9333 GB, free: 11.06 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.03646, allocations: 12 kB / 0.9333 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.03653, allocations: 47.8 kB / 0.9334 GB, free: 11 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.03655, allocations: 12 kB / 0.9334 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0001678/0.03672, allocations: 326.7 kB / 0.9337 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.03672, allocations: 0 / 0.9337 GB, free: 10.67 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005201/0.03724, allocations: 220 kB / 0.9339 GB, free: 10.46 MB / 0.9011 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.000113/0.03735, allocations: 115.2 kB / 0.934 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000852/0.0382, allocations: 1.144 MB / 0.9351 GB, free: 9.121 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.0382, allocations: 128 / 0.9351 GB, free: 9.121 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005534/0.03876, allocations: 0.9528 MB / 0.9361 GB, free: 8.094 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005557/0.03931, allocations: 195.7 kB / 0.9362 GB, free: 7.906 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.04081, allocations: 1.279 MB / 0.9375 GB, free: 6.566 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.04096, allocations: 215.4 kB / 0.9377 GB, free: 6.336 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001982/0.04116, allocations: 89.55 kB / 0.9378 GB, free: 6.246 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002916/0.04145, allocations: 246 kB / 0.938 GB, free: 6.004 MB / 0.9011 GB Notification: Performance of SimCode: time 8.02e-07/0.04145, allocations: 0 / 0.938 GB, free: 6.004 MB / 0.9011 GB Notification: Performance of Templates: time 0.01371/0.05516, allocations: 12.09 MB / 0.9498 GB, free: 10.14 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.263503089081496]