Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.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.00151/0.00151, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001812/0.001812, allocations: 215 kB / 23.03 MB, free: 4.926 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.633/1.633, allocations: 230.6 MB / 256.8 MB, free: 7.809 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 3.197/3.197, allocations: 476.8 MB / 0.7715 GB, free: 3.887 MB / 0.6231 GB " [Timeout remaining time 176] 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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1",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.002044/0.002044, allocations: 69.48 kB / 1.118 GB, free: 40.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4176/0.4197, allocations: 170 MB / 1.284 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2264/0.6461, allocations: 143 MB / 1.424 GB, free: 11.33 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.005588/0.6517, allocations: 2.731 MB / 1.426 GB, free: 8.594 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006607/0.6523, allocations: 23.81 kB / 1.426 GB, free: 8.57 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0008344/0.6532, allocations: 198.8 kB / 1.427 GB, free: 8.375 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002524/0.6557, allocations: 0.809 MB / 1.427 GB, free: 7.562 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001012/0.6567, allocations: 353 kB / 1.428 GB, free: 7.219 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.00163/0.6583, allocations: 0.9781 MB / 1.429 GB, free: 6.238 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004096/0.6587, allocations: 214.5 kB / 1.429 GB, free: 6.023 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007671/0.6595, allocations: 367.9 kB / 1.429 GB, free: 5.664 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.6606, allocations: 311.8 kB / 1.43 GB, free: 5.363 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 7.575e-05/0.6606, allocations: 36 kB / 1.43 GB, free: 5.328 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.6619, allocations: 0.5337 MB / 1.43 GB, free: 4.793 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.6621, allocations: 135.6 kB / 1.43 GB, free: 4.66 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0002417/0.6623, allocations: 175.2 kB / 1.43 GB, free: 4.488 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.6636, allocations: 0.7397 MB / 1.431 GB, free: 3.746 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.6636, allocations: 4 kB / 1.431 GB, free: 3.742 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.863e-06/0.6637, allocations: 0 / 1.431 GB, free: 3.742 MB / 1.123 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.6637, allocations: 0 / 1.431 GB, free: 3.742 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001347/0.665, allocations: 0.6407 MB / 1.432 GB, free: 3.07 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.923e-05/0.6651, allocations: 12.03 kB / 1.432 GB, free: 3.059 MB / 1.123 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.286e-05/0.6651, allocations: 8.438 kB / 1.432 GB, free: 3.051 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.621e-05/0.6652, allocations: 62.53 kB / 1.432 GB, free: 2.98 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.6663, allocations: 143.5 kB / 1.432 GB, free: 2.84 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007055/0.667, allocations: 356 kB / 1.432 GB, free: 2.465 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.69e-05/0.667, allocations: 20.5 kB / 1.432 GB, free: 2.441 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.029e-05/0.6671, allocations: 24 kB / 1.432 GB, free: 2.418 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006397/0.6677, allocations: 385.5 kB / 1.433 GB, free: 2.004 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.6677, allocations: 0 / 1.433 GB, free: 2.004 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.616e-05/0.6678, allocations: 12 kB / 1.433 GB, free: 1.992 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/0.6678, allocations: 8.5 kB / 1.433 GB, free: 1.984 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004096/0.6682, allocations: 201.8 kB / 1.433 GB, free: 1.789 MB / 1.123 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001867/0.6701, allocations: 0.835 MB / 1.434 GB, free: 0.9062 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000462/0.6705, allocations: 186.9 kB / 1.434 GB, free: 0.7148 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.6707, allocations: 85.16 kB / 1.434 GB, free: 0.6289 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 1.848e-05/0.6707, allocations: 3.938 kB / 1.434 GB, free: 0.625 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.6708, allocations: 42.52 kB / 1.434 GB, free: 0.5742 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 2.154e-06/0.6708, allocations: 4 kB / 1.434 GB, free: 0.5703 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.001074/0.6718, allocations: 324.1 kB / 1.434 GB, free: 252 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.6719, allocations: 55.41 kB / 1.434 GB, free: 184 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003905/0.6723, allocations: 300.6 kB / 1.435 GB, free: 15.88 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 4.289e-05/0.6723, allocations: 33.7 kB / 1.435 GB, free: 15.84 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001725/0.6725, allocations: 196.3 kB / 1.435 GB, free: 15.64 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 9.603e-05/0.6726, allocations: 71.39 kB / 1.435 GB, free: 15.57 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.039e-05/0.6727, allocations: 45.7 kB / 1.435 GB, free: 15.52 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.6729, allocations: 338.8 kB / 1.435 GB, free: 15.18 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.673, allocations: 67.91 kB / 1.435 GB, free: 15.12 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.6732, allocations: 115.7 kB / 1.436 GB, free: 14.98 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.6735, allocations: 196.1 kB / 1.436 GB, free: 14.77 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.6735, allocations: 0 / 1.436 GB, free: 14.77 MB / 1.139 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000433/0.6739, allocations: 249.2 kB / 1.436 GB, free: 14.52 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.6739, allocations: 8 kB / 1.436 GB, free: 14.52 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.6739, allocations: 0 / 1.436 GB, free: 14.52 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.6739, allocations: 4 kB / 1.436 GB, free: 14.51 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002207/0.6742, allocations: 52.11 kB / 1.436 GB, free: 14.46 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.6742, allocations: 4 kB / 1.436 GB, free: 14.46 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.6745, allocations: 15.89 kB / 1.436 GB, free: 14.44 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.6745, allocations: 4 kB / 1.436 GB, free: 14.44 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002005/0.6747, allocations: 161.8 kB / 1.436 GB, free: 14.27 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.436e-05/0.6748, allocations: 39.7 kB / 1.436 GB, free: 14.23 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.882e-05/0.6749, allocations: 39.02 kB / 1.436 GB, free: 14.19 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.6749, allocations: 0 / 1.436 GB, free: 14.19 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.6749, allocations: 0 / 1.436 GB, free: 14.19 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.6749, allocations: 3.984 kB / 1.436 GB, free: 14.18 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000582/0.6755, allocations: 336.5 kB / 1.437 GB, free: 13.81 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.6755, allocations: 3.938 kB / 1.437 GB, free: 13.81 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.6757, allocations: 35.92 kB / 1.437 GB, free: 13.77 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002607/0.6759, allocations: 40.83 kB / 1.437 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.042e-05/0.676, allocations: 4 kB / 1.437 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001497/0.6775, allocations: 1.401 MB / 1.438 GB, free: 12.21 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6775, allocations: 4.062 kB / 1.438 GB, free: 12.21 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006539/0.6781, allocations: 406 kB / 1.438 GB, free: 11.79 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.6783, allocations: 59.7 kB / 1.438 GB, free: 11.73 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.199e-05/0.6783, allocations: 4 kB / 1.438 GB, free: 11.73 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.6786, allocations: 4 kB / 1.438 GB, free: 11.73 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.374e-05/0.6786, allocations: 15.97 kB / 1.438 GB, free: 11.71 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.6786, allocations: 8 kB / 1.438 GB, free: 11.7 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002548/0.6789, allocations: 222.9 kB / 1.439 GB, free: 11.48 MB / 1.139 GB Notification: Performance of sort global known variables: time 1e-07/0.6789, allocations: 0 / 1.439 GB, free: 11.48 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004671/0.6794, allocations: 99.89 kB / 1.439 GB, free: 11.39 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,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.001103/0.6805, allocations: 0.9603 MB / 1.44 GB, free: 10.4 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0003393/0.6808, allocations: 155.8 kB / 1.44 GB, free: 10.25 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6808, allocations: 0 / 1.44 GB, free: 10.25 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003577/0.6812, allocations: 202.5 kB / 1.44 GB, free: 10.04 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00104/0.6822, allocations: 197.8 kB / 1.44 GB, free: 9.855 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004152/0.6864, allocations: 2.922 MB / 1.443 GB, free: 6.82 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.6866, allocations: 194 kB / 1.443 GB, free: 6.609 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0003096/0.6869, allocations: 59.25 kB / 1.443 GB, free: 6.551 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.6871, allocations: 103.4 kB / 1.443 GB, free: 6.449 MB / 1.139 GB Notification: Performance of SimCode: time 8.72e-07/0.6871, allocations: 0 / 1.443 GB, free: 6.449 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04468/0.7318, allocations: 9.929 MB / 1.453 GB, free: 12.85 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.56, allocations: 10.12 kB / 1.453 GB, free: 12.85 MB / 1.154 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --stepSize=4.32 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1.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: 21.416130317025818]