Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001633/0.001633, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002131/0.002131, allocations: 214.7 kB / 22.25 MB, free: 5.125 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.457/1.457, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.82/2.82, allocations: 476.7 MB / 0.7707 GB, free: 4.254 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",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.002033/0.002033, allocations: 66.22 kB / 1.117 GB, free: 40.32 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3421, allocations: 170 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03594/0.378, allocations: 27.93 MB / 1.311 GB, free: 15.64 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01558/0.3936, allocations: 8.406 MB / 1.319 GB, free: 7.207 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003079/0.3967, allocations: 154.8 kB / 1.319 GB, free: 7.055 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.007604/0.4043, allocations: 2.885 MB / 1.322 GB, free: 4.16 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004788/0.409, allocations: 1.66 MB / 1.323 GB, free: 2.492 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004559/0.4136, allocations: 1.728 MB / 1.325 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.008004/0.4216, allocations: 6.151 MB / 1.331 GB, free: 10.6 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005502/0.4271, allocations: 3.769 MB / 1.335 GB, free: 6.738 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004402/0.4315, allocations: 2.652 MB / 1.337 GB, free: 4.078 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005059/0.4366, allocations: 3.002 MB / 1.34 GB, free: 1.066 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.00119/0.4378, allocations: 0.5078 MB / 1.341 GB, free: 0.5586 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003178/0.4409, allocations: 1.307 MB / 1.342 GB, free: 15.25 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.002538/0.4435, allocations: 2.108 MB / 1.344 GB, free: 13.14 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.003394/0.4469, allocations: 2.381 MB / 1.347 GB, free: 10.75 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.01076/0.4576, allocations: 8.068 MB / 1.354 GB, free: 2.652 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 1.257e-05/0.4576, allocations: 11.94 kB / 1.354 GB, free: 2.641 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.405e-06/0.4576, allocations: 0 / 1.354 GB, free: 2.641 MB / 1.045 GB Notification: Performance of Transformations before backend: time 0.0002972/0.4579, allocations: 3.984 kB / 1.354 GB, free: 2.637 MB / 1.045 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.01211/0.4701, allocations: 4.268 MB / 1.359 GB, free: 14.32 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.009e-05/0.4701, allocations: 8.031 kB / 1.359 GB, free: 14.31 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001831/0.4719, allocations: 0.5343 MB / 1.359 GB, free: 13.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005398/0.4773, allocations: 0.8179 MB / 1.36 GB, free: 12.95 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006445/0.4838, allocations: 2.534 MB / 1.362 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002648/0.484, allocations: 275.6 kB / 1.363 GB, free: 10.07 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001296/0.4853, allocations: 376.4 kB / 1.363 GB, free: 9.707 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/0.4966, allocations: 5.984 MB / 1.369 GB, free: 3.469 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.33e-05/0.4967, allocations: 15.83 kB / 1.369 GB, free: 3.453 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003845/0.4971, allocations: 160 kB / 1.369 GB, free: 3.297 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005836/0.4976, allocations: 286.9 kB / 1.369 GB, free: 3.016 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008109/0.5058, allocations: 4.52 MB / 1.374 GB, free: 14.48 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03208/0.5378, allocations: 27.24 MB / 1.4 GB, free: 0.7383 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.5396, allocations: 1.063 MB / 1.401 GB, free: 15.66 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001442/0.541, allocations: 0.9601 MB / 1.402 GB, free: 14.71 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 8.413e-05/0.5411, allocations: 16.98 kB / 1.402 GB, free: 14.69 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/0.5412, allocations: 43.56 kB / 1.402 GB, free: 14.64 MB / 1.107 GB Notification: Performance of pre-optimization done (n=110): time 2.405e-06/0.5412, allocations: 0 / 1.402 GB, free: 14.64 MB / 1.107 GB Notification: Performance of matching and sorting (n=131): time 0.02348/0.5646, allocations: 9.096 MB / 1.411 GB, free: 5.488 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.5647, allocations: 72.7 kB / 1.411 GB, free: 5.402 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002714/0.5674, allocations: 1.498 MB / 1.413 GB, free: 3.906 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003165/0.5677, allocations: 45.7 kB / 1.413 GB, free: 3.855 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001598/0.5693, allocations: 1.711 MB / 1.414 GB, free: 2.125 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006921/0.57, allocations: 495.8 kB / 1.415 GB, free: 1.637 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007176/0.5707, allocations: 331.4 kB / 1.415 GB, free: 1.305 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.5709, allocations: 309.1 kB / 1.416 GB, free: 1 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001566/0.5725, allocations: 0.9135 MB / 1.416 GB, free: 88 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002006/0.5745, allocations: 1.471 MB / 1.418 GB, free: 14.37 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003679/0.5781, allocations: 2.542 MB / 1.42 GB, free: 11.59 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/0.5782, allocations: 8 kB / 1.42 GB, free: 11.58 MB / 1.123 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006639/0.5848, allocations: 3.275 MB / 1.424 GB, free: 8.27 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.5848, allocations: 15.98 kB / 1.424 GB, free: 8.254 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.679e-05/0.5849, allocations: 20 kB / 1.424 GB, free: 8.234 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00239/0.5873, allocations: 0.7375 MB / 1.424 GB, free: 7.469 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/0.589, allocations: 383.4 kB / 1.425 GB, free: 7.094 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01833/0.6073, allocations: 16.12 MB / 1.44 GB, free: 5.941 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001789/0.6091, allocations: 103.9 kB / 1.441 GB, free: 5.84 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003353/0.6094, allocations: 72 kB / 1.441 GB, free: 5.77 MB / 1.139 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.002937/0.6124, allocations: 1.313 MB / 1.442 GB, free: 4.445 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006225/0.613, allocations: 218.6 kB / 1.442 GB, free: 4.23 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005781/0.6188, allocations: 2.761 MB / 1.445 GB, free: 1.426 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.6188, allocations: 12 kB / 1.445 GB, free: 1.414 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-05/0.6188, allocations: 8 kB / 1.445 GB, free: 1.406 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/0.6188, allocations: 7.969 kB / 1.445 GB, free: 1.398 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01306/0.6319, allocations: 6.18 MB / 1.451 GB, free: 11.05 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.6319, allocations: 4.656 kB / 1.451 GB, free: 11.05 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001223/0.6331, allocations: 231.7 kB / 1.451 GB, free: 10.82 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002109/0.6352, allocations: 0.6712 MB / 1.452 GB, free: 10.12 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001262/0.6354, allocations: 35.98 kB / 1.452 GB, free: 10.09 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01745/0.6528, allocations: 15.88 MB / 1.467 GB, free: 9.18 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/0.6528, allocations: 8 kB / 1.467 GB, free: 9.172 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006852/0.6597, allocations: 3.99 MB / 1.471 GB, free: 5.074 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/0.6609, allocations: 386.6 kB / 1.472 GB, free: 4.695 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002787/0.6612, allocations: 39.92 kB / 1.472 GB, free: 4.656 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008941/0.662, allocations: 83.89 kB / 1.472 GB, free: 4.574 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003309/0.6624, allocations: 116.7 kB / 1.472 GB, free: 4.461 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.725e-05/0.6625, allocations: 40 kB / 1.472 GB, free: 4.422 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001468/0.6639, allocations: 0.9942 MB / 1.473 GB, free: 3.438 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.6639, allocations: 4 kB / 1.473 GB, free: 3.434 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.002418/0.6663, allocations: 0.6836 MB / 1.473 GB, free: 2.75 MB / 1.17 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.006852/0.6732, allocations: 4.599 MB / 1.478 GB, free: 14.03 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.005608/0.6788, allocations: 3.378 MB / 1.481 GB, free: 10.54 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.994e-06/0.6788, allocations: 0 / 1.481 GB, free: 10.54 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.003439/0.6823, allocations: 2.249 MB / 1.483 GB, free: 8.168 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003481/0.6857, allocations: 0.683 MB / 1.484 GB, free: 7.504 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03789/0.7236, allocations: 21.29 MB / 1.505 GB, free: 1.344 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003053/0.7267, allocations: 2.664 MB / 1.508 GB, free: 14.64 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001488/0.7282, allocations: 493.4 kB / 1.508 GB, free: 14.16 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/0.7298, allocations: 1.28 MB / 1.509 GB, free: 12.88 MB / 1.217 GB Notification: Performance of SimCode: time 1.143e-06/0.7298, allocations: 0 / 1.509 GB, free: 12.88 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1465/0.8763, allocations: 59.09 MB / 1.567 GB, free: 2.516 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.93/15.81, allocations: 3.984 kB / 1.567 GB, free: 2.512 MB / 1.264 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.8987244151067]