Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001387/0.001387, allocations: 77.86 kB / 19.76 MB, free: 2.031 MB / 14.72 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.001388/0.001388, allocations: 162.6 kB / 23.01 MB, free: 4.945 MB / 14.72 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.441/1.441, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] 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 3.007/3.007, allocations: 394.2 MB / 0.6387 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.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_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_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.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002295/0.002295, allocations: 66.09 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.936/0.9383, allocations: 181.8 MB / 1.187 GB, free: 16.23 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00696/0.9452, allocations: 5.37 MB / 1.192 GB, free: 12.8 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004858/0.9501, allocations: 2.62 MB / 1.194 GB, free: 11.12 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004745/0.9506, allocations: 37.22 kB / 1.194 GB, free: 11.1 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001936/0.9525, allocations: 0.6914 MB / 1.195 GB, free: 10.7 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001248/0.9537, allocations: 417.9 kB / 1.196 GB, free: 10.46 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.955, allocations: 416.7 kB / 1.196 GB, free: 10.26 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.001207/0.9562, allocations: 0.9565 MB / 1.197 GB, free: 9.82 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006405/0.9568, allocations: 378 kB / 1.197 GB, free: 9.645 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007074/0.9575, allocations: 389.3 kB / 1.198 GB, free: 9.488 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000656/0.9582, allocations: 405.5 kB / 1.198 GB, free: 9.34 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.18e-05/0.9583, allocations: 48.16 kB / 1.198 GB, free: 9.34 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008286/0.9591, allocations: 329.1 kB / 1.198 GB, free: 9.238 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003003/0.9594, allocations: 255.4 kB / 1.199 GB, free: 9.133 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003471/0.9597, allocations: 294 kB / 1.199 GB, free: 8.984 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001471/0.9612, allocations: 0.9817 MB / 1.2 GB, free: 8.648 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.9612, allocations: 1.969 kB / 1.2 GB, free: 8.648 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.324e-06/0.9612, allocations: 0 / 1.2 GB, free: 8.648 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.9612, allocations: 3.938 kB / 1.2 GB, free: 8.645 MB / 1.076 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.001654/0.9629, allocations: 0.926 MB / 1.201 GB, free: 8 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.9629, allocations: 13.72 kB / 1.201 GB, free: 7.996 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.9644, allocations: 201.5 kB / 1.201 GB, free: 7.949 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008656/0.9653, allocations: 474 kB / 1.201 GB, free: 7.652 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.721e-05/0.9653, allocations: 37.84 kB / 1.201 GB, free: 7.637 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/0.9655, allocations: 52.38 kB / 1.201 GB, free: 7.621 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001342/0.9668, allocations: 0.9818 MB / 1.202 GB, free: 6.965 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.935e-05/0.9669, allocations: 10.92 kB / 1.202 GB, free: 6.957 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.254e-05/0.9669, allocations: 19.59 kB / 1.202 GB, free: 6.945 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002148/0.9671, allocations: 63.27 kB / 1.203 GB, free: 6.938 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001027/0.9682, allocations: 0.5711 MB / 1.203 GB, free: 6.734 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003818/0.972, allocations: 3.497 MB / 1.206 GB, free: 3.98 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005091/0.9725, allocations: 272.6 kB / 1.207 GB, free: 3.871 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003067/0.9728, allocations: 211.9 kB / 1.207 GB, free: 3.789 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.9728, allocations: 7.422 kB / 1.207 GB, free: 3.785 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.9728, allocations: 37.69 kB / 1.207 GB, free: 3.742 MB / 1.076 GB Notification: Performance of pre-optimization done (n=33): time 1.613e-06/0.9728, allocations: 0 / 1.207 GB, free: 3.742 MB / 1.076 GB Notification: Performance of matching and sorting (n=40): time 0.005807/0.9787, allocations: 2.333 MB / 1.209 GB, free: 2.723 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.733e-05/0.9787, allocations: 56.72 kB / 1.209 GB, free: 2.66 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005149/0.9792, allocations: 429 kB / 1.21 GB, free: 2.453 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.9792, allocations: 32.78 kB / 1.21 GB, free: 2.418 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001903/0.9794, allocations: 352.7 kB / 1.21 GB, free: 2.133 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.9795, allocations: 155.4 kB / 1.21 GB, free: 2.012 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000159/0.9797, allocations: 100.9 kB / 1.21 GB, free: 1.957 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 9.277e-05/0.9798, allocations: 362.9 kB / 1.211 GB, free: 1.621 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003706/0.9802, allocations: 246.7 kB / 1.211 GB, free: 1.531 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/0.9806, allocations: 406.8 kB / 1.211 GB, free: 1.238 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008168/0.9814, allocations: 0.6736 MB / 1.212 GB, free: 0.8086 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.9814, allocations: 1.438 kB / 1.212 GB, free: 0.8086 MB / 1.076 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001638/0.9831, allocations: 0.9079 MB / 1.213 GB, free: 440 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.9831, allocations: 9.594 kB / 1.213 GB, free: 440 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.227e-05/0.9831, allocations: 6.469 kB / 1.213 GB, free: 440 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007615/0.9839, allocations: 236.1 kB / 1.213 GB, free: 360 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005421/0.9844, allocations: 114.7 kB / 1.213 GB, free: 348 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005844/0.9902, allocations: 4.937 MB / 1.218 GB, free: 12.17 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006385/0.9909, allocations: 38.36 kB / 1.218 GB, free: 12.16 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.928e-05/0.9909, allocations: 22.55 kB / 1.218 GB, free: 12.15 MB / 1.092 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.0004513/0.9914, allocations: 223.1 kB / 1.218 GB, free: 11.98 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.9915, allocations: 54.2 kB / 1.218 GB, free: 11.96 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001676/0.9932, allocations: 0.7685 MB / 1.219 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.9932, allocations: 9.172 kB / 1.219 GB, free: 11.62 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.9932, allocations: 6.781 kB / 1.219 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/0.9932, allocations: 5.719 kB / 1.219 GB, free: 11.61 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/0.996, allocations: 1.327 MB / 1.22 GB, free: 10.93 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.271e-06/0.996, allocations: 2.734 kB / 1.22 GB, free: 10.93 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004043/0.9964, allocations: 68.36 kB / 1.22 GB, free: 10.93 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007323/0.9972, allocations: 213.9 kB / 1.221 GB, free: 10.85 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.533e-05/0.9972, allocations: 10.08 kB / 1.221 GB, free: 10.85 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005634/1.003, allocations: 4.866 MB / 1.225 GB, free: 6.711 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.048e-05/1.003, allocations: 11.94 kB / 1.225 GB, free: 6.703 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/1.005, allocations: 1.123 MB / 1.227 GB, free: 6.129 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003157/1.005, allocations: 89.28 kB / 1.227 GB, free: 6.086 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.887e-05/1.005, allocations: 9.422 kB / 1.227 GB, free: 6.082 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003409/1.006, allocations: 28.23 kB / 1.227 GB, free: 6.074 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/1.006, allocations: 37.59 kB / 1.227 GB, free: 6.066 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-05/1.006, allocations: 14.44 kB / 1.227 GB, free: 6.062 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003949/1.006, allocations: 298.3 kB / 1.227 GB, free: 5.91 MB / 1.092 GB Notification: Performance of sort global known variables: time 9e-08/1.006, allocations: 0 / 1.227 GB, free: 5.91 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0008401/1.007, allocations: 165.9 kB / 1.227 GB, free: 5.895 MB / 1.092 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.0001951/1.007, allocations: 119.7 kB / 1.227 GB, free: 5.785 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001805/1.009, allocations: 0.9749 MB / 1.228 GB, free: 5.219 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.009, allocations: 1.281 kB / 1.228 GB, free: 5.219 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001064/1.01, allocations: 0.664 MB / 1.229 GB, free: 4.766 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009034/1.011, allocations: 164.3 kB / 1.229 GB, free: 4.711 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/1.013, allocations: 1.268 MB / 1.23 GB, free: 3.984 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004931/1.014, allocations: 353.7 kB / 1.231 GB, free: 3.859 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003949/1.014, allocations: 114.5 kB / 1.231 GB, free: 3.836 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001052/1.014, allocations: 35.44 kB / 1.231 GB, free: 3.828 MB / 1.092 GB Notification: Performance of SimCode: time 9.02e-07/1.014, allocations: 0 / 1.231 GB, free: 3.828 MB / 1.092 GB Notification: Performance of Templates: time 0.02644/1.041, allocations: 9.101 MB / 1.24 GB, free: 1.723 MB / 1.092 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.21000689396169]