Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.001297/0.001297, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001393/0.001393, allocations: 220.3 kB / 23.05 MB, free: 5.074 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.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.185/3.185, allocations: 0.5003 GB / 0.8061 GB, free: 26.75 MB / 0.6231 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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="cs",version="2.0",platforms={"static"}) [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.001935/0.001935, allocations: 67.58 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3628, allocations: 179 MB / 1.345 GB, free: 468 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02786/0.3907, allocations: 21.23 MB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01301/0.4037, allocations: 6.726 MB / 1.373 GB, free: 4.402 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002709/0.4064, allocations: 115.2 kB / 1.373 GB, free: 4.289 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.006707/0.4131, allocations: 2.334 MB / 1.375 GB, free: 1.949 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005072/0.4182, allocations: 1.244 MB / 1.376 GB, free: 0.6992 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.004786/0.4229, allocations: 1.317 MB / 1.378 GB, free: 15.38 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.006995/0.4299, allocations: 4.847 MB / 1.382 GB, free: 10.52 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004797/0.4347, allocations: 3.178 MB / 1.385 GB, free: 7.27 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003383/0.4381, allocations: 2.15 MB / 1.387 GB, free: 5.113 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003823/0.4419, allocations: 2.477 MB / 1.39 GB, free: 2.629 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0007399/0.4427, allocations: 428 kB / 1.39 GB, free: 2.211 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002052/0.4447, allocations: 1.022 MB / 1.391 GB, free: 1.188 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001869/0.4466, allocations: 1.707 MB / 1.393 GB, free: 15.48 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.00241/0.449, allocations: 1.914 MB / 1.395 GB, free: 13.55 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.007307/0.4563, allocations: 6.541 MB / 1.401 GB, free: 6.992 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4563, allocations: 0 / 1.401 GB, free: 6.992 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4563, allocations: 0 / 1.401 GB, free: 6.992 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.000147/0.4565, allocations: 3.938 kB / 1.401 GB, free: 6.988 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.007288/0.4638, allocations: 3.466 MB / 1.405 GB, free: 3.473 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.4638, allocations: 8.031 kB / 1.405 GB, free: 3.465 MB / 1.092 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.133e-05/0.4639, allocations: 78.16 kB / 1.405 GB, free: 3.387 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006459/0.4645, allocations: 458.5 kB / 1.405 GB, free: 2.926 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003313/0.4678, allocations: 0.6545 MB / 1.406 GB, free: 2.27 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004379/0.4722, allocations: 2.001 MB / 1.408 GB, free: 224 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/0.4724, allocations: 222.3 kB / 1.408 GB, free: 0 / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007127/0.4731, allocations: 295.9 kB / 1.408 GB, free: 15.71 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008876/0.482, allocations: 4.882 MB / 1.413 GB, free: 10.63 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.108e-05/0.4821, allocations: 11.92 kB / 1.413 GB, free: 10.62 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003216/0.4824, allocations: 132 kB / 1.413 GB, free: 10.49 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004783/0.4829, allocations: 229.7 kB / 1.413 GB, free: 10.26 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006657/0.4895, allocations: 3.75 MB / 1.417 GB, free: 6.5 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02468/0.5142, allocations: 21.24 MB / 1.438 GB, free: 15.26 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001912/0.5161, allocations: 1.228 MB / 1.439 GB, free: 14.02 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001468/0.5176, allocations: 0.9875 MB / 1.44 GB, free: 13.03 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 5.876e-05/0.5177, allocations: 16.98 kB / 1.44 GB, free: 13.02 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.5177, allocations: 43.56 kB / 1.44 GB, free: 12.96 MB / 1.139 GB Notification: Performance of pre-optimization done (n=107): time 2.474e-06/0.5177, allocations: 0 / 1.44 GB, free: 12.96 MB / 1.139 GB Notification: Performance of matching and sorting (n=138): time 0.02458/0.5423, allocations: 8.436 MB / 1.448 GB, free: 4.531 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.5423, allocations: 76.72 kB / 1.448 GB, free: 4.445 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.5439, allocations: 1.119 MB / 1.449 GB, free: 3.32 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001213/0.544, allocations: 53.7 kB / 1.449 GB, free: 3.262 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001/0.545, allocations: 1.339 MB / 1.451 GB, free: 1.91 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004583/0.5454, allocations: 0.4918 MB / 1.451 GB, free: 1.414 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004896/0.5459, allocations: 291.5 kB / 1.451 GB, free: 1.125 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5461, allocations: 309.1 kB / 1.452 GB, free: 0.8203 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001345/0.5474, allocations: 0.9096 MB / 1.453 GB, free: 15.91 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.5491, allocations: 1.326 MB / 1.454 GB, free: 14.41 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003275/0.5524, allocations: 2.43 MB / 1.456 GB, free: 11.81 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.5524, allocations: 0 / 1.456 GB, free: 11.81 MB / 1.154 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006365/0.5587, allocations: 3.437 MB / 1.46 GB, free: 8.355 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.5588, allocations: 12 kB / 1.46 GB, free: 8.344 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/0.5588, allocations: 12 kB / 1.46 GB, free: 8.332 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003321/0.5621, allocations: 1.181 MB / 1.461 GB, free: 7.145 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/0.5632, allocations: 259.6 kB / 1.461 GB, free: 6.891 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0192/0.5824, allocations: 13.55 MB / 1.474 GB, free: 9 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/0.5838, allocations: 91.97 kB / 1.474 GB, free: 8.91 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/0.5839, allocations: 64 kB / 1.474 GB, free: 8.848 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * 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 {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001915/0.5858, allocations: 1.114 MB / 1.476 GB, free: 7.723 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003599/0.5862, allocations: 167 kB / 1.476 GB, free: 7.559 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00602/0.5922, allocations: 3.126 MB / 1.479 GB, free: 4.406 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.102e-05/0.5922, allocations: 23.88 kB / 1.479 GB, free: 4.383 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.751e-05/0.5923, allocations: 12 kB / 1.479 GB, free: 4.371 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/0.5923, allocations: 7.969 kB / 1.479 GB, free: 4.363 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01208/0.6044, allocations: 6.193 MB / 1.485 GB, free: 14.04 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.474e-05/0.6044, allocations: 4 kB / 1.485 GB, free: 14.04 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006026/0.605, allocations: 147.8 kB / 1.485 GB, free: 13.89 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002942/0.6079, allocations: 1.073 MB / 1.486 GB, free: 12.82 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/0.6081, allocations: 24 kB / 1.486 GB, free: 12.79 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01838/0.6264, allocations: 13.24 MB / 1.499 GB, free: 15.21 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.193e-06/0.6264, allocations: 8 kB / 1.499 GB, free: 15.2 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005744/0.6322, allocations: 3.12 MB / 1.502 GB, free: 12 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00103/0.6332, allocations: 362.8 kB / 1.502 GB, free: 11.64 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002218/0.6334, allocations: 24 kB / 1.502 GB, free: 11.62 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008108/0.6342, allocations: 83.89 kB / 1.503 GB, free: 11.54 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003797/0.6346, allocations: 132.6 kB / 1.503 GB, free: 11.41 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.913e-05/0.6347, allocations: 36 kB / 1.503 GB, free: 11.37 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001114/0.6358, allocations: 0.7671 MB / 1.503 GB, free: 10.6 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6358, allocations: 0 / 1.503 GB, free: 10.6 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002244/0.6381, allocations: 0.6602 MB / 1.504 GB, free: 9.941 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (70): * Single equations (assignments): 67 * 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 {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005946/0.644, allocations: 3.709 MB / 1.508 GB, free: 6.129 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.00544/0.6495, allocations: 3.017 MB / 1.511 GB, free: 3.082 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/0.6495, allocations: 0 / 1.511 GB, free: 3.082 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.003385/0.6529, allocations: 1.885 MB / 1.513 GB, free: 1.156 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002268/0.6551, allocations: 0.4979 MB / 1.513 GB, free: 0.6758 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03218/0.6873, allocations: 19.19 MB / 1.532 GB, free: 12.89 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002653/0.69, allocations: 2.34 MB / 1.534 GB, free: 10.52 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001042/0.691, allocations: 350.1 kB / 1.534 GB, free: 10.17 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001252/0.6922, allocations: 1.007 MB / 1.535 GB, free: 9.16 MB / 1.232 GB Notification: Performance of SimCode: time 1.553e-06/0.6922, allocations: 0 / 1.535 GB, free: 9.16 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1165/0.8088, allocations: 54.2 MB / 1.588 GB, free: 3.52 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.31/15.12, allocations: 8.641 kB / 1.588 GB, free: 3.516 MB / 1.279 GB " [Timeout remaining time 285] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.506735049013514]