Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.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.001022/0.001022, allocations: 81.95 kB / 21.47 MB, free: 3.039 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.001008/0.001008, allocations: 166.2 kB / 24.87 MB, free: 9.293 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.9268/0.9268, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.712/1.712, allocations: 359 MB / 0.6063 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.[0-9,]+.|load_sc_2.v.[0-9,]+.|load_sc_3.v.[0-9,]+.|load_sc_1.i.[0-9,]+.|load_sc_2.i.[0-9,]+.|load_sc_3.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.253e-05/1.365e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.003529/0.003543, allocations: 4.125 MB / 0.7923 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001823/0.005365, allocations: 1.538 MB / 0.7938 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000218/0.005583, allocations: 31.69 kB / 0.7939 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004584/0.006041, allocations: 166.7 kB / 0.794 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004439/0.006485, allocations: 369.2 kB / 0.7944 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003948/0.00688, allocations: 338.2 kB / 0.7947 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006747/0.007555, allocations: 0.998 MB / 0.7957 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003654/0.00792, allocations: 379.5 kB / 0.796 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004779/0.008398, allocations: 0.5143 MB / 0.7965 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003846/0.008783, allocations: 392.2 kB / 0.7969 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.342e-05/0.008836, allocations: 48 kB / 0.797 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.009006, allocations: 132.3 kB / 0.7971 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.009163, allocations: 263.2 kB / 0.7973 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.009328, allocations: 239.9 kB / 0.7976 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004679/0.009796, allocations: 0.6001 MB / 0.7982 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.009798, allocations: 0 / 0.7982 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.009799, allocations: 1.25 kB / 0.7982 GB, free: 2.102 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.009805, allocations: 0 / 0.7982 GB, free: 2.102 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.0008811/0.01069, allocations: 0.9806 MB / 0.7991 GB, free: 1.082 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.01072, allocations: 12.03 kB / 0.7991 GB, free: 1.07 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006558/0.01137, allocations: 244.6 kB / 0.7994 GB, free: 0.832 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005085/0.01188, allocations: 479.3 kB / 0.7998 GB, free: 356 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.567e-05/0.01191, allocations: 39.59 kB / 0.7999 GB, free: 316 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.01201, allocations: 52.55 kB / 0.7999 GB, free: 264 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005439/0.01255, allocations: 0.7589 MB / 0.8006 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.01257, allocations: 4.188 kB / 0.8006 GB, free: 15.35 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.0126, allocations: 28.11 kB / 0.8007 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.805e-05/0.0127, allocations: 60.95 kB / 0.8007 GB, free: 15.26 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002442/0.01294, allocations: 238.7 kB / 0.801 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/0.01524, allocations: 4.288 MB / 0.8051 GB, free: 10.6 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001743/0.01541, allocations: 123.8 kB / 0.8053 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.421e-05/0.0155, allocations: 80.81 kB / 0.8053 GB, free: 10.39 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.01552, allocations: 8.266 kB / 0.8054 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.01555, allocations: 50.86 kB / 0.8054 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 1.483e-06/0.01555, allocations: 0 / 0.8054 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of matching and sorting (n=40): time 0.002125/0.01767, allocations: 1.36 MB / 0.8067 GB, free: 8.91 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.444e-05/0.0177, allocations: 55.41 kB / 0.8068 GB, free: 8.844 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.01795, allocations: 462.2 kB / 0.8072 GB, free: 8.375 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.564e-05/0.01798, allocations: 29.7 kB / 0.8073 GB, free: 8.34 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.01816, allocations: 411 kB / 0.8076 GB, free: 7.93 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 7.314e-05/0.01824, allocations: 146.7 kB / 0.8078 GB, free: 7.785 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.01835, allocations: 111.9 kB / 0.8079 GB, free: 7.664 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.01849, allocations: 0.5351 MB / 0.8084 GB, free: 7.117 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.102e-05/0.01858, allocations: 77.25 kB / 0.8085 GB, free: 7.043 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002261/0.01881, allocations: 319.2 kB / 0.8088 GB, free: 6.625 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003147/0.01912, allocations: 446.1 kB / 0.8092 GB, free: 6.09 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.01913, allocations: 7.938 kB / 0.8092 GB, free: 6.082 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0006695/0.0198, allocations: 0.5824 MB / 0.8098 GB, free: 5.48 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.01981, allocations: 4 kB / 0.8098 GB, free: 5.477 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.702e-06/0.01982, allocations: 8 kB / 0.8098 GB, free: 5.469 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005383/0.02036, allocations: 222.9 kB / 0.81 GB, free: 5.238 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.02058, allocations: 99.83 kB / 0.8101 GB, free: 5.141 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002748/0.02332, allocations: 5.558 MB / 0.8155 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.0235, allocations: 16 kB / 0.8156 GB, free: 15.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.304e-05/0.02352, allocations: 28 kB / 0.8156 GB, free: 15.2 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0001277/0.02365, allocations: 188.4 kB / 0.8158 GB, free: 15 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/0.02372, allocations: 75.59 kB / 0.8158 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005766/0.02429, allocations: 464.3 kB / 0.8163 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.0243, allocations: 4 kB / 0.8163 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.0243, allocations: 4 kB / 0.8163 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.02431, allocations: 3.984 kB / 0.8163 GB, free: 14.44 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009957/0.0253, allocations: 0.9236 MB / 0.8172 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.0253, allocations: 192 / 0.8172 GB, free: 13.44 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001492/0.02545, allocations: 59.91 kB / 0.8172 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004898/0.02594, allocations: 219 kB / 0.8175 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.02596, allocations: 8 kB / 0.8175 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002519/0.02848, allocations: 5.543 MB / 0.8229 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.02848, allocations: 0 / 0.8229 GB, free: 7.262 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006735/0.02916, allocations: 0.6988 MB / 0.8236 GB, free: 6.5 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.02926, allocations: 83.62 kB / 0.8236 GB, free: 6.418 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.696e-05/0.02929, allocations: 8 kB / 0.8236 GB, free: 6.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000136/0.02943, allocations: 8 kB / 0.8237 GB, free: 6.402 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.671e-05/0.02949, allocations: 39.88 kB / 0.8237 GB, free: 6.363 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.0295, allocations: 15.97 kB / 0.8237 GB, free: 6.348 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001467/0.02965, allocations: 290.6 kB / 0.824 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.02965, allocations: 0 / 0.824 GB, free: 6.062 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004011/0.03005, allocations: 176 kB / 0.8242 GB, free: 5.891 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001149/0.03017, allocations: 111.1 kB / 0.8243 GB, free: 5.773 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007004/0.03087, allocations: 0.8884 MB / 0.8251 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.03087, allocations: 0 / 0.8251 GB, free: 4.828 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004308/0.0313, allocations: 0.7146 MB / 0.8258 GB, free: 4.059 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.03179, allocations: 160.2 kB / 0.826 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00132/0.03311, allocations: 1.157 MB / 0.8271 GB, free: 2.684 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.03322, allocations: 178.5 kB / 0.8273 GB, free: 2.484 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001486/0.03337, allocations: 56.83 kB / 0.8273 GB, free: 2.43 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002379/0.03361, allocations: 218.1 kB / 0.8275 GB, free: 2.215 MB / 0.7761 GB Notification: Performance of SimCode: time 6.91e-07/0.03361, allocations: 0 / 0.8275 GB, free: 2.215 MB / 0.7761 GB Notification: Performance of Templates: time 0.01254/0.04615, allocations: 9.982 MB / 0.8373 GB, free: 8.457 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.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.06190320989117]