Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.001352/0.001352, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001469/0.001469, allocations: 207.6 kB / 22.24 MB, free: 5.262 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.498/1.498, allocations: 230.6 MB / 256 MB, free: 7.773 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.751/2.751, allocations: 476 MB / 0.7699 GB, free: 4.73 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.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.002312/0.002312, allocations: 64.8 kB / 1.117 GB, free: 41.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3259, allocations: 170 MB / 1.283 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01455/0.3405, allocations: 10.7 MB / 1.293 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01004/0.3505, allocations: 5.649 MB / 1.299 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.3517, allocations: 71.38 kB / 1.299 GB, free: 11.99 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.004786/0.3564, allocations: 1.739 MB / 1.3 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0037/0.3601, allocations: 1.182 MB / 1.301 GB, free: 9.062 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002397/0.3625, allocations: 0.8186 MB / 1.302 GB, free: 8.246 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003134/0.3657, allocations: 2.124 MB / 1.304 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/0.3675, allocations: 1.021 MB / 1.305 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/0.3698, allocations: 0.8835 MB / 1.306 GB, free: 4.184 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002268/0.372, allocations: 0.8947 MB / 1.307 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005975/0.3726, allocations: 116 kB / 1.307 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003297/0.3759, allocations: 1.064 MB / 1.308 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001084/0.377, allocations: 0.5374 MB / 1.309 GB, free: 1.566 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001552/0.3786, allocations: 0.6452 MB / 1.309 GB, free: 0.918 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005035/0.3836, allocations: 2.452 MB / 1.312 GB, free: 14.45 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3836, allocations: 0 / 1.312 GB, free: 14.45 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.073e-06/0.3836, allocations: 0 / 1.312 GB, free: 14.45 MB / 1.014 GB Notification: Performance of Transformations before backend: time 9.348e-05/0.3837, allocations: 4 kB / 1.312 GB, free: 14.45 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.004437/0.3881, allocations: 1.842 MB / 1.314 GB, free: 12.57 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.3882, allocations: 8.031 kB / 1.314 GB, free: 12.56 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004463/0.3886, allocations: 211.4 kB / 1.314 GB, free: 12.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004605/0.3932, allocations: 0.6747 MB / 1.314 GB, free: 11.66 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002356/0.3956, allocations: 0.9291 MB / 1.315 GB, free: 10.71 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.3957, allocations: 90.91 kB / 1.315 GB, free: 10.62 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003167/0.396, allocations: 128.3 kB / 1.316 GB, free: 10.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004557/0.4006, allocations: 2.415 MB / 1.318 GB, free: 7.805 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.807e-05/0.4007, allocations: 7.938 kB / 1.318 GB, free: 7.797 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/0.4009, allocations: 55.98 kB / 1.318 GB, free: 7.742 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002851/0.4011, allocations: 166.2 kB / 1.318 GB, free: 7.578 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00383/0.405, allocations: 1.859 MB / 1.32 GB, free: 5.711 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01461/0.4196, allocations: 9.425 MB / 1.329 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004472/0.424, allocations: 1.858 MB / 1.331 GB, free: 10.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008952/0.4249, allocations: 0.5542 MB / 1.332 GB, free: 9.562 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.4251, allocations: 20.98 kB / 1.332 GB, free: 9.543 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.4251, allocations: 47.5 kB / 1.332 GB, free: 9.488 MB / 1.029 GB Notification: Performance of pre-optimization done (n=103): time 3.246e-06/0.4251, allocations: 0 / 1.332 GB, free: 9.488 MB / 1.029 GB Notification: Performance of matching and sorting (n=110): time 0.006566/0.4317, allocations: 3.137 MB / 1.335 GB, free: 6.336 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.4317, allocations: 64.41 kB / 1.335 GB, free: 6.258 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/0.4332, allocations: 0.9553 MB / 1.336 GB, free: 5.285 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.274e-05/0.4332, allocations: 45.64 kB / 1.336 GB, free: 5.234 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006267/0.4339, allocations: 0.7455 MB / 1.336 GB, free: 4.48 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003967/0.4343, allocations: 416.5 kB / 1.337 GB, free: 4.07 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004371/0.4347, allocations: 283.4 kB / 1.337 GB, free: 3.789 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.4348, allocations: 305.1 kB / 1.337 GB, free: 3.488 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/0.4359, allocations: 0.6129 MB / 1.338 GB, free: 2.875 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001497/0.4374, allocations: 1.102 MB / 1.339 GB, free: 1.555 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/0.44, allocations: 1.832 MB / 1.341 GB, free: 15.51 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.55e-05/0.4401, allocations: 4 kB / 1.341 GB, free: 15.5 MB / 1.045 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003714/0.4438, allocations: 2.101 MB / 1.343 GB, free: 13.37 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/0.4438, allocations: 18.38 kB / 1.343 GB, free: 13.35 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.664e-05/0.4438, allocations: 20 kB / 1.343 GB, free: 13.33 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009412/0.4448, allocations: 262.6 kB / 1.343 GB, free: 13.05 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.4461, allocations: 367.4 kB / 1.344 GB, free: 12.69 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/0.4572, allocations: 10.73 MB / 1.354 GB, free: 1.043 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.4584, allocations: 131.8 kB / 1.354 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.4586, allocations: 71.98 kB / 1.354 GB, free: 0.8438 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007617/0.4594, allocations: 397.5 kB / 1.355 GB, free: 456 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000294/0.4597, allocations: 139.2 kB / 1.355 GB, free: 316 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003204/0.4629, allocations: 1.681 MB / 1.356 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.4629, allocations: 16 kB / 1.356 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.4629, allocations: 0 / 1.356 GB, free: 14.58 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.4629, allocations: 7.984 kB / 1.356 GB, free: 14.57 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006089/0.469, allocations: 3.104 MB / 1.359 GB, free: 11.33 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.348e-05/0.469, allocations: 8 kB / 1.359 GB, free: 11.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008657/0.4699, allocations: 219.6 kB / 1.36 GB, free: 11.11 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007459/0.4706, allocations: 246.9 kB / 1.36 GB, free: 10.84 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.383e-05/0.4707, allocations: 31.94 kB / 1.36 GB, free: 10.81 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01047/0.4812, allocations: 10.73 MB / 1.37 GB, free: 15.17 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.4812, allocations: 12 kB / 1.37 GB, free: 15.16 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003298/0.4845, allocations: 1.796 MB / 1.372 GB, free: 13.25 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007591/0.4852, allocations: 239 kB / 1.372 GB, free: 13.02 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002548/0.4855, allocations: 32 kB / 1.372 GB, free: 12.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008422/0.4863, allocations: 91.88 kB / 1.372 GB, free: 12.89 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000196/0.4865, allocations: 100.7 kB / 1.373 GB, free: 12.8 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.345e-05/0.4866, allocations: 35.98 kB / 1.373 GB, free: 12.76 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0009577/0.4876, allocations: 0.6216 MB / 1.373 GB, free: 12.13 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4876, allocations: 0 / 1.373 GB, free: 12.13 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001551/0.4891, allocations: 395.9 kB / 1.374 GB, free: 11.75 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003723/0.4928, allocations: 2.387 MB / 1.376 GB, free: 9.238 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.004003/0.4968, allocations: 2.402 MB / 1.378 GB, free: 6.734 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 9.839e-06/0.4968, allocations: 4.875 kB / 1.378 GB, free: 6.73 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002403/0.4992, allocations: 1.586 MB / 1.38 GB, free: 5.043 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.501, allocations: 363 kB / 1.38 GB, free: 4.699 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/0.5202, allocations: 11.53 MB / 1.391 GB, free: 8.414 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001088/0.5213, allocations: 0.7335 MB / 1.392 GB, free: 7.648 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001184/0.5225, allocations: 367.3 kB / 1.392 GB, free: 7.285 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009119/0.5234, allocations: 0.5344 MB / 1.393 GB, free: 6.75 MB / 1.092 GB Notification: Performance of SimCode: time 8.71e-07/0.5234, allocations: 0 / 1.393 GB, free: 6.75 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1088/0.6322, allocations: 30.52 MB / 1.423 GB, free: 8.785 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.12, allocations: 6.922 kB / 1.423 GB, free: 8.781 MB / 1.123 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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: 19.801134000066668]