Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009435/0.0009435, allocations: 83.69 kB / 20.45 MB, free: 4.129 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.0009956/0.0009956, allocations: 161 kB / 23.82 MB, free: 0.7617 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.9615/0.9615, allocations: 177.1 MB / 204.2 MB, free: 5.609 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.892/1.892, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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_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_12_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_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.479e-05/2.639e-05, allocations: 3.406 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.004556/0.004582, allocations: 4.195 MB / 0.8156 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00241/0.006993, allocations: 1.545 MB / 0.8171 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003119/0.007304, allocations: 32.47 kB / 0.8172 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005484/0.007853, allocations: 170.8 kB / 0.8173 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0005891/0.008442, allocations: 373.3 kB / 0.8177 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005735/0.009015, allocations: 329.9 kB / 0.818 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0008163/0.009832, allocations: 1.002 MB / 0.819 GB, free: 10.1 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004832/0.01032, allocations: 379 kB / 0.8193 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005675/0.01088, allocations: 0.515 MB / 0.8198 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004347/0.01132, allocations: 371.5 kB / 0.8202 GB, free: 8.852 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 6.262e-05/0.01138, allocations: 49.31 kB / 0.8203 GB, free: 8.805 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002236/0.0116, allocations: 135.8 kB / 0.8204 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003363/0.01194, allocations: 267.2 kB / 0.8206 GB, free: 8.41 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.01213, allocations: 239.4 kB / 0.8209 GB, free: 8.176 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005844/0.01272, allocations: 0.5963 MB / 0.8214 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.01272, allocations: 0 / 0.8214 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.583e-06/0.01272, allocations: 0.8438 kB / 0.8214 GB, free: 7.578 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.01273, allocations: 4 kB / 0.8214 GB, free: 7.574 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001038/0.01377, allocations: 0.9919 MB / 0.8224 GB, free: 6.547 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.01381, allocations: 13.25 kB / 0.8224 GB, free: 6.535 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008919/0.0147, allocations: 285.2 kB / 0.8227 GB, free: 6.258 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005637/0.01526, allocations: 496.9 kB / 0.8232 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.01529, allocations: 38.42 kB / 0.8232 GB, free: 5.715 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.01541, allocations: 60.53 kB / 0.8233 GB, free: 5.656 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007037/0.01612, allocations: 0.7869 MB / 0.824 GB, free: 4.727 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.046e-05/0.01614, allocations: 4.188 kB / 0.824 GB, free: 4.723 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.502e-05/0.01618, allocations: 29.42 kB / 0.8241 GB, free: 4.695 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000133/0.01631, allocations: 68.94 kB / 0.8241 GB, free: 4.629 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003957/0.01671, allocations: 275.7 kB / 0.8244 GB, free: 4.359 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002901/0.01961, allocations: 4.422 MB / 0.8287 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.01994, allocations: 148.4 kB / 0.8289 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.02011, allocations: 100.1 kB / 0.829 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.02014, allocations: 12.22 kB / 0.829 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.02017, allocations: 33.67 kB / 0.829 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=33): time 2.625e-06/0.02017, allocations: 4.938 kB / 0.829 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of matching and sorting (n=40): time 0.003416/0.02359, allocations: 1.548 MB / 0.8305 GB, free: 13.87 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.02362, allocations: 55.41 kB / 0.8306 GB, free: 13.8 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004082/0.02403, allocations: 462.5 kB / 0.831 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.02406, allocations: 29.7 kB / 0.831 GB, free: 13.3 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.02428, allocations: 407.1 kB / 0.8314 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.02439, allocations: 146.8 kB / 0.8316 GB, free: 12.75 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001555/0.02454, allocations: 111.9 kB / 0.8317 GB, free: 12.63 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.02472, allocations: 0.539 MB / 0.8322 GB, free: 12.08 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.02492, allocations: 105.2 kB / 0.8323 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.02525, allocations: 343.3 kB / 0.8326 GB, free: 11.54 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005808/0.02584, allocations: 486.1 kB / 0.8331 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.02584, allocations: 4 kB / 0.8331 GB, free: 10.96 MB / 0.7917 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001139/0.02698, allocations: 0.6365 MB / 0.8337 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.285e-05/0.027, allocations: 10.81 kB / 0.8337 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.02701, allocations: 11.98 kB / 0.8337 GB, free: 10.28 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007677/0.02778, allocations: 215.5 kB / 0.8339 GB, free: 10.06 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.02817, allocations: 115.8 kB / 0.8341 GB, free: 9.945 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003769/0.03194, allocations: 5.651 MB / 0.8396 GB, free: 3.93 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003058/0.03224, allocations: 31.97 kB / 0.8396 GB, free: 3.898 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.955e-05/0.03228, allocations: 27.94 kB / 0.8396 GB, free: 3.871 MB / 0.7917 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.0001864/0.03247, allocations: 188.4 kB / 0.8398 GB, free: 3.676 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.855e-05/0.03257, allocations: 71.67 kB / 0.8399 GB, free: 3.605 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009129/0.03348, allocations: 0.4925 MB / 0.8404 GB, free: 3.09 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.03348, allocations: 4 kB / 0.8404 GB, free: 3.086 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.03349, allocations: 4 kB / 0.8404 GB, free: 3.082 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.03349, allocations: 3.984 kB / 0.8404 GB, free: 3.078 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/0.03521, allocations: 1.061 MB / 0.8414 GB, free: 1.934 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.03521, allocations: 0 / 0.8414 GB, free: 1.934 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002611/0.03547, allocations: 75.88 kB / 0.8415 GB, free: 1.859 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006574/0.03613, allocations: 211.2 kB / 0.8417 GB, free: 1.641 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.03616, allocations: 12 kB / 0.8417 GB, free: 1.629 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003326/0.03949, allocations: 5.643 MB / 0.8472 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.03949, allocations: 4.141 kB / 0.8472 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.04054, allocations: 0.7574 MB / 0.8479 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001645/0.0407, allocations: 83.62 kB / 0.848 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.311e-05/0.04075, allocations: 19.98 kB / 0.848 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002581/0.04101, allocations: 27.97 kB / 0.8481 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.659e-05/0.04111, allocations: 39.88 kB / 0.8481 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001684/0.04128, allocations: 12 kB / 0.8481 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0002468/0.04152, allocations: 294.8 kB / 0.8484 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1e-07/0.04152, allocations: 0 / 0.8484 GB, free: 10.32 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0006313/0.04216, allocations: 168 kB / 0.8486 GB, free: 10.16 MB / 0.8073 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.0001418/0.0423, allocations: 123.1 kB / 0.8487 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001112/0.04341, allocations: 0.9136 MB / 0.8496 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.04341, allocations: 0 / 0.8496 GB, free: 9.059 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0006339/0.04405, allocations: 0.7392 MB / 0.8503 GB, free: 8.262 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006916/0.04474, allocations: 173.7 kB / 0.8505 GB, free: 8.098 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.04674, allocations: 1.147 MB / 0.8516 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001754/0.04691, allocations: 190.5 kB / 0.8518 GB, free: 6.68 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002698/0.04718, allocations: 92.81 kB / 0.8518 GB, free: 6.59 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.038e-05/0.04727, allocations: 36.5 kB / 0.8519 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of SimCode: time 1.473e-06/0.04727, allocations: 0 / 0.8519 GB, free: 6.555 MB / 0.8073 GB Notification: Performance of Templates: time 0.01525/0.06253, allocations: 9.189 MB / 0.8609 GB, free: 13.59 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.367610699962825]