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.001052/0.001052, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009984/0.0009984, allocations: 165.3 kB / 23.82 MB, free: 0.7461 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 1.07/1.07, allocations: 177.1 MB / 204.2 MB, free: 5.199 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.919/1.919, allocations: 359 MB / 0.6052 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 177] 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 2.605e-06/2.605e-06, allocations: 0 / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.968e-05/4.228e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.43 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007302/0.007344, allocations: 4.191 MB / 0.7912 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004096/0.01144, allocations: 1.542 MB / 0.7927 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007162/0.01216, allocations: 31.69 kB / 0.7927 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.01316, allocations: 171.7 kB / 0.7929 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.01449, allocations: 371.4 kB / 0.7932 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.01559, allocations: 339.2 kB / 0.7936 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001715/0.01731, allocations: 0.9909 MB / 0.7945 GB, free: 4.812 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008772/0.01818, allocations: 374.5 kB / 0.7949 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.01947, allocations: 0.5276 MB / 0.7954 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009375/0.02041, allocations: 374.9 kB / 0.7958 GB, free: 3.551 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.02059, allocations: 48 kB / 0.7958 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005266/0.02111, allocations: 125.6 kB / 0.7959 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003069/0.02142, allocations: 271.2 kB / 0.7962 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002639/0.02168, allocations: 239.4 kB / 0.7964 GB, free: 2.883 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008718/0.02256, allocations: 0.6033 MB / 0.797 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.02256, allocations: 0 / 0.797 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.334e-06/0.02256, allocations: 1.188 kB / 0.797 GB, free: 2.277 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.876e-05/0.02258, allocations: 0 / 0.797 GB, free: 2.277 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.001349/0.02393, allocations: 0.9852 MB / 0.798 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/0.02398, allocations: 8.031 kB / 0.798 GB, free: 1.246 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009973/0.02498, allocations: 291.8 kB / 0.7983 GB, free: 0.9609 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006712/0.02565, allocations: 0.4902 MB / 0.7987 GB, free: 464 kB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.02568, allocations: 38.53 kB / 0.7988 GB, free: 428 kB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/0.02581, allocations: 56.55 kB / 0.7988 GB, free: 372 kB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000779/0.02659, allocations: 0.7902 MB / 0.7996 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.476e-05/0.02661, allocations: 5 kB / 0.7996 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.602e-05/0.02666, allocations: 32.11 kB / 0.7996 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001358/0.02679, allocations: 61.89 kB / 0.7997 GB, free: 15.33 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004306/0.02722, allocations: 279.7 kB / 0.8 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003071/0.03029, allocations: 4.417 MB / 0.8043 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000284/0.03058, allocations: 148.3 kB / 0.8044 GB, free: 10.33 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001371/0.03071, allocations: 96.77 kB / 0.8045 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.03075, allocations: 12.22 kB / 0.8045 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.156e-05/0.03078, allocations: 42.95 kB / 0.8046 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=33): time 2.705e-06/0.03078, allocations: 0 / 0.8046 GB, free: 10.17 MB / 0.7605 GB Notification: Performance of matching and sorting (n=40): time 0.003019/0.0338, allocations: 1.556 MB / 0.8061 GB, free: 8.566 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.03384, allocations: 55.41 kB / 0.8061 GB, free: 8.5 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000358/0.0342, allocations: 462.5 kB / 0.8066 GB, free: 8.035 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.03423, allocations: 30.67 kB / 0.8066 GB, free: 8 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002003/0.03443, allocations: 407.1 kB / 0.807 GB, free: 7.594 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 9.83e-05/0.03453, allocations: 150.8 kB / 0.8071 GB, free: 7.445 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001261/0.03465, allocations: 115.9 kB / 0.8072 GB, free: 7.32 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.03482, allocations: 0.5312 MB / 0.8078 GB, free: 6.777 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001625/0.03498, allocations: 101.2 kB / 0.8079 GB, free: 6.68 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002776/0.03526, allocations: 343.3 kB / 0.8082 GB, free: 6.238 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004779/0.03573, allocations: 490.1 kB / 0.8087 GB, free: 5.66 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.03574, allocations: 4 kB / 0.8087 GB, free: 5.656 MB / 0.7605 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001101/0.03684, allocations: 0.6331 MB / 0.8093 GB, free: 5.004 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.03687, allocations: 13.81 kB / 0.8093 GB, free: 4.992 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/0.03688, allocations: 4 kB / 0.8093 GB, free: 4.988 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006735/0.03755, allocations: 226.8 kB / 0.8095 GB, free: 4.754 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003305/0.03788, allocations: 115.8 kB / 0.8096 GB, free: 4.641 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003454/0.04134, allocations: 5.638 MB / 0.8151 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003346/0.04167, allocations: 31.97 kB / 0.8152 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.67e-05/0.04171, allocations: 31.92 kB / 0.8152 GB, free: 14.57 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.0002321/0.04194, allocations: 192.4 kB / 0.8154 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.851e-05/0.04204, allocations: 67.67 kB / 0.8154 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007764/0.04282, allocations: 0.4925 MB / 0.8159 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/0.04282, allocations: 4 kB / 0.8159 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/0.04282, allocations: 4 kB / 0.8159 GB, free: 13.79 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.04283, allocations: 4 kB / 0.8159 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00144/0.04427, allocations: 1.064 MB / 0.817 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.04427, allocations: 0 / 0.817 GB, free: 12.63 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.04449, allocations: 67.89 kB / 0.817 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005581/0.04505, allocations: 211 kB / 0.8172 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.04508, allocations: 8 kB / 0.8172 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003356/0.04844, allocations: 5.655 MB / 0.8228 GB, free: 6.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.04844, allocations: 4 kB / 0.8228 GB, free: 6.316 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.04945, allocations: 0.7535 MB / 0.8235 GB, free: 5.5 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002191/0.04967, allocations: 87.62 kB / 0.8236 GB, free: 5.414 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.822e-05/0.04972, allocations: 11.94 kB / 0.8236 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.04992, allocations: 23.97 kB / 0.8236 GB, free: 5.379 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.05003, allocations: 43.88 kB / 0.8237 GB, free: 5.336 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.287e-05/0.05005, allocations: 8 kB / 0.8237 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0002644/0.05031, allocations: 302.8 kB / 0.824 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.05031, allocations: 0 / 0.824 GB, free: 5.031 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007002/0.05101, allocations: 172 kB / 0.8241 GB, free: 4.863 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.0002117/0.05123, allocations: 115.1 kB / 0.8242 GB, free: 4.738 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001207/0.05243, allocations: 0.9208 MB / 0.8251 GB, free: 3.762 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.05244, allocations: 3.938 kB / 0.8251 GB, free: 3.758 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000599/0.05304, allocations: 0.7369 MB / 0.8259 GB, free: 2.965 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006521/0.05369, allocations: 170.6 kB / 0.826 GB, free: 2.805 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.0557, allocations: 1.142 MB / 0.8271 GB, free: 1.602 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.05588, allocations: 186.5 kB / 0.8273 GB, free: 1.395 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0002521/0.05613, allocations: 92.8 kB / 0.8274 GB, free: 1.305 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.204e-05/0.05621, allocations: 36.5 kB / 0.8274 GB, free: 1.27 MB / 0.7761 GB Notification: Performance of SimCode: time 1.422e-06/0.05621, allocations: 0 / 0.8274 GB, free: 1.27 MB / 0.7761 GB Notification: Performance of Templates: time 0.01368/0.06989, allocations: 9.197 MB / 0.8364 GB, free: 8.285 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.964614960830659]