Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.0008712/0.0008712, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.001026/0.001026, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8741/0.8741, allocations: 177.1 MB / 203.5 MB, free: 5.723 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 1.746/1.746, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|load_sc_1.load1.v.1.|load_sc_1.load1.v.2.|load_sc_2.load1.v.1.|load_sc_2.load1.v.2.|load_sc_3.load1.v.1.|load_sc_3.load1.v.2.|load_sc_1.load1.i.1.|load_sc_1.load1.i.2.|load_sc_2.load1.i.1.|load_sc_2.load1.i.2.|load_sc_3.load1.i.1.|load_sc_3.load1.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.038e-05/2.204e-05, allocations: 2.281 kB / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01734/0.01736, allocations: 25.07 MB / 1.025 GB, free: 3.844 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.009343/0.02671, allocations: 7.981 MB / 1.033 GB, free: 11.84 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001627/0.02833, allocations: 154.9 kB / 1.033 GB, free: 11.69 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.003339/0.03167, allocations: 2.777 MB / 1.036 GB, free: 8.902 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002658/0.03433, allocations: 1.717 MB / 1.038 GB, free: 7.176 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002512/0.03684, allocations: 1.701 MB / 1.039 GB, free: 5.477 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.4232/0.4601, allocations: 6.258 MB / 1.045 GB, free: 50.82 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003455/0.4635, allocations: 3.747 MB / 1.049 GB, free: 50.54 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002813/0.4663, allocations: 3.725 MB / 1.053 GB, free: 50.54 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/0.4681, allocations: 2.634 MB / 1.055 GB, free: 50.54 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0003468/0.4684, allocations: 0.5086 MB / 1.056 GB, free: 50.54 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.4697, allocations: 1.22 MB / 1.057 GB, free: 50.54 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.001051/0.4708, allocations: 2.2 MB / 1.059 GB, free: 50.37 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.4719, allocations: 1.652 MB / 1.061 GB, free: 50.21 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.004312/0.4762, allocations: 8.212 MB / 1.069 GB, free: 49.25 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4762, allocations: 5.812 kB / 1.069 GB, free: 49.24 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4762, allocations: 0 / 1.069 GB, free: 49.24 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 6.577e-05/0.4763, allocations: 0 / 1.069 GB, free: 49.24 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.00427/0.4805, allocations: 4.218 MB / 1.073 GB, free: 46.89 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/0.4806, allocations: 12 kB / 1.073 GB, free: 46.89 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/0.4827, allocations: 0.8259 MB / 1.074 GB, free: 46.64 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003141/0.4859, allocations: 2.533 MB / 1.076 GB, free: 45.49 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.486, allocations: 276.8 kB / 1.077 GB, free: 45.37 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004609/0.4865, allocations: 371.5 kB / 1.077 GB, free: 45.25 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006124/0.4926, allocations: 6.443 MB / 1.083 GB, free: 42.16 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.19e-05/0.4927, allocations: 25.97 kB / 1.083 GB, free: 42.15 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002663/0.493, allocations: 164.7 kB / 1.083 GB, free: 42.04 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003397/0.4933, allocations: 283.8 kB / 1.084 GB, free: 42 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00496/0.4983, allocations: 4.513 MB / 1.088 GB, free: 40.5 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01286/0.5111, allocations: 17.37 MB / 1.105 GB, free: 28.88 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001107/0.5122, allocations: 1.064 MB / 1.106 GB, free: 28.48 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009637/0.5132, allocations: 0.9653 MB / 1.107 GB, free: 28.11 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.868e-05/0.5133, allocations: 11.44 kB / 1.107 GB, free: 28.11 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.5133, allocations: 46.91 kB / 1.107 GB, free: 28.06 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=110): time 2.745e-06/0.5133, allocations: 0 / 1.107 GB, free: 28.06 MB / 0.9948 GB Notification: Performance of matching and sorting (n=131): time 0.01304/0.5263, allocations: 9.074 MB / 1.116 GB, free: 24.51 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.5264, allocations: 66.33 kB / 1.116 GB, free: 24.45 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001307/0.5277, allocations: 1.403 MB / 1.117 GB, free: 23.89 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.351e-05/0.5277, allocations: 51.2 kB / 1.117 GB, free: 23.84 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006402/0.5284, allocations: 1.726 MB / 1.119 GB, free: 22.52 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002204/0.5286, allocations: 486.4 kB / 1.12 GB, free: 22.15 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003271/0.5289, allocations: 323.2 kB / 1.12 GB, free: 21.99 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.388e-05/0.529, allocations: 302.2 kB / 1.12 GB, free: 21.7 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009564/0.5299, allocations: 0.9154 MB / 1.121 GB, free: 21.35 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.5311, allocations: 1.471 MB / 1.122 GB, free: 20.33 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/0.5332, allocations: 2.547 MB / 1.125 GB, free: 18.82 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.836e-06/0.5332, allocations: 5.344 kB / 1.125 GB, free: 18.82 MB / 0.9948 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.003714/0.537, allocations: 3.263 MB / 1.128 GB, free: 17.59 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.537, allocations: 12.38 kB / 1.128 GB, free: 17.59 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.537, allocations: 22.2 kB / 1.128 GB, free: 17.59 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001327/0.5383, allocations: 0.7377 MB / 1.129 GB, free: 17.35 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009191/0.5393, allocations: 384.8 kB / 1.129 GB, free: 17.34 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008312/0.5476, allocations: 15.81 MB / 1.145 GB, free: 4.266 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.5487, allocations: 104.2 kB / 1.145 GB, free: 4.234 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.5488, allocations: 78.17 kB / 1.145 GB, free: 4.219 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.002064/0.5508, allocations: 1.316 MB / 1.146 GB, free: 3.637 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001859/0.551, allocations: 199.1 kB / 1.146 GB, free: 3.535 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00317/0.5542, allocations: 2.759 MB / 1.149 GB, free: 2.383 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.5542, allocations: 21.44 kB / 1.149 GB, free: 2.375 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.5542, allocations: 6.969 kB / 1.149 GB, free: 2.375 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.5542, allocations: 11.34 kB / 1.149 GB, free: 2.371 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006431/0.5606, allocations: 5.331 MB / 1.154 GB, free: 136 kB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/0.5606, allocations: 8.312 kB / 1.154 GB, free: 132 kB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006249/0.5613, allocations: 234.1 kB / 1.155 GB, free: 124 kB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.5624, allocations: 0.6614 MB / 1.155 GB, free: 15.9 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-05/0.5624, allocations: 38.33 kB / 1.155 GB, free: 15.88 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/0.5732, allocations: 15.55 MB / 1.17 GB, free: 2.934 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/0.5732, allocations: 12.8 kB / 1.17 GB, free: 2.934 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004577/0.5778, allocations: 3.972 MB / 1.174 GB, free: 1.105 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006798/0.5785, allocations: 369 kB / 1.175 GB, free: 0.9102 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.5786, allocations: 37.7 kB / 1.175 GB, free: 0.8906 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00051/0.5791, allocations: 78.78 kB / 1.175 GB, free: 0.875 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002588/0.5794, allocations: 125 kB / 1.175 GB, free: 0.8516 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.912e-05/0.5794, allocations: 46.69 kB / 1.175 GB, free: 0.8398 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0009533/0.5804, allocations: 0.9001 MB / 1.176 GB, free: 0.5 MB / 1.01 GB Notification: Performance of sort global known variables: time 5e-08/0.5804, allocations: 0 / 1.176 GB, free: 0.5 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002136/0.5825, allocations: 0.6823 MB / 1.176 GB, free: 456 kB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.0002368/0.5828, allocations: 158.1 kB / 1.177 GB, free: 336 kB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.003411/0.5862, allocations: 3.374 MB / 1.18 GB, free: 14.24 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5862, allocations: 0 / 1.18 GB, free: 14.24 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001795/0.588, allocations: 2.248 MB / 1.182 GB, free: 12.56 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001818/0.5898, allocations: 0.6249 MB / 1.183 GB, free: 12.24 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009838/0.5996, allocations: 7.002 MB / 1.19 GB, free: 7.484 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002084/0.6017, allocations: 2.156 MB / 1.192 GB, free: 5.293 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/0.6021, allocations: 128.5 kB / 1.192 GB, free: 5.168 MB / 1.026 GB Notification: Performance of SimCode: time 1.423e-06/0.6021, allocations: 4 kB / 1.192 GB, free: 5.164 MB / 1.026 GB Notification: Performance of Templates: time 0.1343/0.7364, allocations: 210.8 MB / 1.398 GB, free: 2.355 MB / 1.229 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.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: 13.22728628385812]