Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001335/0.001335, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001503/0.001503, allocations: 217.6 kB / 23.04 MB, free: 4.844 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.294/3.294, allocations: 0.49 GB / 0.7959 GB, free: 35.61 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.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_12_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_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.002142/0.002142, allocations: 71.47 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4198, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03442/0.4542, allocations: 25.57 MB / 1.352 GB, free: 7.285 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01731/0.4715, allocations: 8.095 MB / 1.36 GB, free: 15.17 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00351/0.4751, allocations: 154.8 kB / 1.36 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.008136/0.4832, allocations: 2.775 MB / 1.363 GB, free: 12.23 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005717/0.4889, allocations: 1.66 MB / 1.365 GB, free: 10.57 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005407/0.4943, allocations: 1.694 MB / 1.366 GB, free: 8.875 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.00969/0.504, allocations: 6.135 MB / 1.372 GB, free: 2.715 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006332/0.5103, allocations: 3.742 MB / 1.376 GB, free: 14.88 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005963/0.5163, allocations: 2.676 MB / 1.378 GB, free: 12.2 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00625/0.5226, allocations: 2.815 MB / 1.381 GB, free: 9.371 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.001396/0.5239, allocations: 0.5078 MB / 1.382 GB, free: 8.863 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003313/0.5273, allocations: 1.201 MB / 1.383 GB, free: 7.66 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.003031/0.5303, allocations: 2.104 MB / 1.385 GB, free: 5.551 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.004565/0.5349, allocations: 1.934 MB / 1.387 GB, free: 3.609 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01197/0.5468, allocations: 8.111 MB / 1.395 GB, free: 11.47 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.245e-06/0.5468, allocations: 4 kB / 1.395 GB, free: 11.47 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.675e-06/0.5468, allocations: 0 / 1.395 GB, free: 11.47 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000293/0.5471, allocations: 0 / 1.395 GB, free: 11.47 MB / 1.092 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.01266/0.5598, allocations: 4.26 MB / 1.399 GB, free: 7.156 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.5598, allocations: 16.03 kB / 1.399 GB, free: 7.141 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004852/0.5647, allocations: 0.8219 MB / 1.4 GB, free: 6.316 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006881/0.5716, allocations: 2.53 MB / 1.402 GB, free: 3.723 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003174/0.5719, allocations: 279.6 kB / 1.402 GB, free: 3.449 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001554/0.5734, allocations: 376.6 kB / 1.403 GB, free: 3.082 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01477/0.5882, allocations: 6.445 MB / 1.409 GB, free: 12.27 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/0.5883, allocations: 19.83 kB / 1.409 GB, free: 12.25 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004497/0.5888, allocations: 160 kB / 1.409 GB, free: 12.1 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006581/0.5894, allocations: 282.9 kB / 1.41 GB, free: 11.82 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01021/0.5997, allocations: 4.52 MB / 1.414 GB, free: 7.293 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03115/0.6308, allocations: 17.39 MB / 1.431 GB, free: 5.391 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001935/0.6328, allocations: 1.064 MB / 1.432 GB, free: 4.316 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001514/0.6343, allocations: 0.9649 MB / 1.433 GB, free: 3.352 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 8.961e-05/0.6344, allocations: 9 kB / 1.433 GB, free: 3.344 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.022e-05/0.6344, allocations: 47.56 kB / 1.433 GB, free: 3.289 MB / 1.123 GB Notification: Performance of pre-optimization done (n=110): time 5.57e-06/0.6344, allocations: 4 kB / 1.433 GB, free: 3.285 MB / 1.123 GB Notification: Performance of matching and sorting (n=131): time 0.02262/0.6571, allocations: 9.078 MB / 1.442 GB, free: 10.15 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.899e-05/0.6571, allocations: 72.66 kB / 1.442 GB, free: 10.06 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002217/0.6593, allocations: 1.405 MB / 1.443 GB, free: 8.652 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001376/0.6595, allocations: 57.69 kB / 1.443 GB, free: 8.59 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001405/0.6609, allocations: 1.722 MB / 1.445 GB, free: 6.855 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000502/0.6614, allocations: 491.8 kB / 1.445 GB, free: 6.371 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005726/0.662, allocations: 335.4 kB / 1.446 GB, free: 6.035 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.6621, allocations: 301.1 kB / 1.446 GB, free: 5.738 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.6635, allocations: 0.9135 MB / 1.447 GB, free: 4.824 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00196/0.6655, allocations: 1.459 MB / 1.448 GB, free: 3.129 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003504/0.669, allocations: 2.554 MB / 1.451 GB, free: 344 kB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/0.669, allocations: 11.94 kB / 1.451 GB, free: 332 kB / 1.139 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006342/0.6753, allocations: 3.252 MB / 1.454 GB, free: 13.03 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.248e-05/0.6754, allocations: 19.88 kB / 1.454 GB, free: 13.01 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.523e-05/0.6754, allocations: 16.09 kB / 1.454 GB, free: 13 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002296/0.6777, allocations: 0.7335 MB / 1.455 GB, free: 12.23 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.6793, allocations: 387.3 kB / 1.455 GB, free: 11.86 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01939/0.6987, allocations: 15.82 MB / 1.471 GB, free: 11.12 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/0.7006, allocations: 99.91 kB / 1.471 GB, free: 11.02 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.7008, allocations: 76 kB / 1.471 GB, free: 10.95 MB / 1.17 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.002799/0.7036, allocations: 1.317 MB / 1.472 GB, free: 9.617 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005464/0.7041, allocations: 194.8 kB / 1.472 GB, free: 9.426 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005661/0.7098, allocations: 2.765 MB / 1.475 GB, free: 6.613 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.601e-05/0.7098, allocations: 12.14 kB / 1.475 GB, free: 6.602 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.631e-05/0.7098, allocations: 11.98 kB / 1.475 GB, free: 6.59 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/0.7098, allocations: 7.969 kB / 1.475 GB, free: 6.582 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01083/0.7207, allocations: 5.334 MB / 1.48 GB, free: 1.105 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.7207, allocations: 4 kB / 1.48 GB, free: 1.102 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001185/0.7219, allocations: 235.8 kB / 1.48 GB, free: 0.8711 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002125/0.724, allocations: 0.6714 MB / 1.481 GB, free: 176 kB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/0.7241, allocations: 32 kB / 1.481 GB, free: 144 kB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01808/0.7422, allocations: 15.56 MB / 1.496 GB, free: 15.65 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/0.7422, allocations: 11.94 kB / 1.496 GB, free: 15.64 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007221/0.7494, allocations: 3.985 MB / 1.5 GB, free: 11.55 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/0.7506, allocations: 366.7 kB / 1.501 GB, free: 11.19 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/0.7509, allocations: 39.88 kB / 1.501 GB, free: 11.15 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009225/0.7518, allocations: 87.89 kB / 1.501 GB, free: 11.06 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003696/0.7521, allocations: 120.7 kB / 1.501 GB, free: 10.95 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.635e-05/0.7522, allocations: 40 kB / 1.501 GB, free: 10.91 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001534/0.7538, allocations: 0.9048 MB / 1.502 GB, free: 10.01 MB / 1.201 GB Notification: Performance of sort global known variables: time 1e-07/0.7538, allocations: 4 kB / 1.502 GB, free: 10 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002867/0.7566, allocations: 0.6875 MB / 1.502 GB, free: 9.316 MB / 1.201 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.0003899/0.757, allocations: 145.7 kB / 1.503 GB, free: 9.168 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.006259/0.7633, allocations: 3.377 MB / 1.506 GB, free: 5.676 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/0.7633, allocations: 0 / 1.506 GB, free: 5.676 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003737/0.767, allocations: 2.249 MB / 1.508 GB, free: 3.312 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00322/0.7703, allocations: 0.6338 MB / 1.509 GB, free: 2.695 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01519/0.7855, allocations: 7.137 MB / 1.516 GB, free: 11.46 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003616/0.7891, allocations: 2.163 MB / 1.518 GB, free: 9.254 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006901/0.7898, allocations: 131.4 kB / 1.518 GB, free: 9.129 MB / 1.217 GB Notification: Performance of SimCode: time 1.614e-06/0.7898, allocations: 0 / 1.518 GB, free: 9.129 MB / 1.217 GB Notification: Performance of Templates: time 0.8987/1.688, allocations: 210.7 MB / 1.724 GB, free: 168.6 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 22.4678163100034]