Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001718/0.001718, allocations: 98.08 kB / 19.73 MB, free: 2.23 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.002106/0.002106, allocations: 219.2 kB / 23.04 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.625/1.625, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.405/3.405, allocations: 0.5003 GB / 0.8061 GB, free: 26.76 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.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_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.002051/0.002051, allocations: 67.14 kB / 1.171 GB, free: 19.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3749/0.3769, allocations: 179 MB / 1.345 GB, free: 484 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2197/0.5966, allocations: 166 MB / 1.507 GB, free: 9.859 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005199/0.6018, allocations: 2.951 MB / 1.51 GB, free: 6.902 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004905/0.6023, allocations: 15.88 kB / 1.51 GB, free: 6.887 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007189/0.603, allocations: 214.8 kB / 1.51 GB, free: 6.676 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002115/0.6051, allocations: 0.8167 MB / 1.511 GB, free: 5.855 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009025/0.606, allocations: 357 kB / 1.512 GB, free: 5.508 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001445/0.6075, allocations: 0.982 MB / 1.513 GB, free: 4.523 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003544/0.6078, allocations: 206.5 kB / 1.513 GB, free: 4.312 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007442/0.6086, allocations: 398.5 kB / 1.513 GB, free: 3.922 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009964/0.6096, allocations: 304.5 kB / 1.513 GB, free: 3.625 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 6.904e-05/0.6096, allocations: 36 kB / 1.513 GB, free: 3.59 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.6111, allocations: 0.6975 MB / 1.514 GB, free: 2.891 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001798/0.6113, allocations: 139.5 kB / 1.514 GB, free: 2.754 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002504/0.6115, allocations: 215 kB / 1.515 GB, free: 2.543 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.001232/0.6128, allocations: 0.7592 MB / 1.515 GB, free: 1.781 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.6128, allocations: 0 / 1.515 GB, free: 1.781 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6128, allocations: 0 / 1.515 GB, free: 1.781 MB / 1.201 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.6128, allocations: 4 kB / 1.515 GB, free: 1.777 MB / 1.201 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.001385/0.6142, allocations: 0.6485 MB / 1.516 GB, free: 1.098 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.721e-05/0.6142, allocations: 8.031 kB / 1.516 GB, free: 1.09 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.676e-05/0.6143, allocations: 8.5 kB / 1.516 GB, free: 1.082 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.603e-05/0.6143, allocations: 62.48 kB / 1.516 GB, free: 1.012 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0011/0.6154, allocations: 147.5 kB / 1.516 GB, free: 0.8672 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007143/0.6162, allocations: 352.1 kB / 1.516 GB, free: 0.5 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.471e-05/0.6162, allocations: 20.5 kB / 1.516 GB, free: 492 kB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.6162, allocations: 24 kB / 1.516 GB, free: 468 kB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004975/0.6167, allocations: 278.7 kB / 1.517 GB, free: 176 kB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.6167, allocations: 0 / 1.517 GB, free: 176 kB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.6168, allocations: 8 kB / 1.517 GB, free: 168 kB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.447e-05/0.6168, allocations: 8.5 kB / 1.517 GB, free: 160 kB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003731/0.6172, allocations: 205.9 kB / 1.517 GB, free: 15.95 MB / 1.217 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.002113/0.6193, allocations: 1.288 MB / 1.518 GB, free: 14.54 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004092/0.6197, allocations: 186.9 kB / 1.518 GB, free: 14.34 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000152/0.6198, allocations: 84.77 kB / 1.518 GB, free: 14.26 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.6199, allocations: 8 kB / 1.518 GB, free: 14.25 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.6199, allocations: 34.55 kB / 1.519 GB, free: 14.21 MB / 1.217 GB Notification: Performance of pre-optimization done (n=19): time 1.172e-06/0.6199, allocations: 0 / 1.519 GB, free: 14.21 MB / 1.217 GB Notification: Performance of matching and sorting (n=19): time 0.0009853/0.6209, allocations: 329.2 kB / 1.519 GB, free: 13.88 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.6209, allocations: 55.41 kB / 1.519 GB, free: 13.81 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003604/0.6213, allocations: 300.6 kB / 1.519 GB, free: 13.5 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.956e-05/0.6213, allocations: 25.7 kB / 1.519 GB, free: 13.47 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.6215, allocations: 196.3 kB / 1.519 GB, free: 13.28 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.625e-05/0.6216, allocations: 75.36 kB / 1.519 GB, free: 13.2 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.013e-05/0.6216, allocations: 45.7 kB / 1.519 GB, free: 13.15 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002026/0.6218, allocations: 342.8 kB / 1.52 GB, free: 12.81 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.622, allocations: 67.91 kB / 1.52 GB, free: 12.74 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.6222, allocations: 113.9 kB / 1.52 GB, free: 12.61 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.6225, allocations: 207.1 kB / 1.52 GB, free: 12.39 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.6225, allocations: 0 / 1.52 GB, free: 12.39 MB / 1.217 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004316/0.6229, allocations: 250.7 kB / 1.52 GB, free: 12.14 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/0.623, allocations: 7.984 kB / 1.52 GB, free: 12.13 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.623, allocations: 16.16 kB / 1.52 GB, free: 12.11 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.623, allocations: 4 kB / 1.52 GB, free: 12.11 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001904/0.6232, allocations: 43.86 kB / 1.52 GB, free: 12.07 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.208e-05/0.6232, allocations: 4 kB / 1.52 GB, free: 12.06 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.6235, allocations: 15.89 kB / 1.521 GB, free: 12.05 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.6235, allocations: 8 kB / 1.521 GB, free: 12.04 MB / 1.217 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.0001895/0.6237, allocations: 161.8 kB / 1.521 GB, free: 11.87 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.055e-05/0.6237, allocations: 35.75 kB / 1.521 GB, free: 11.84 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.543e-05/0.6238, allocations: 42.95 kB / 1.521 GB, free: 11.79 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.6238, allocations: 4 kB / 1.521 GB, free: 11.79 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.6238, allocations: 0 / 1.521 GB, free: 11.79 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.6238, allocations: 0 / 1.521 GB, free: 11.79 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.6244, allocations: 380.3 kB / 1.521 GB, free: 11.38 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.6244, allocations: 3.938 kB / 1.521 GB, free: 11.37 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001743/0.6246, allocations: 31.98 kB / 1.521 GB, free: 11.34 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002257/0.6248, allocations: 40.83 kB / 1.521 GB, free: 11.3 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.757e-05/0.6248, allocations: 8 kB / 1.521 GB, free: 11.29 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.6263, allocations: 1.408 MB / 1.523 GB, free: 9.77 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.6263, allocations: 32 / 1.523 GB, free: 9.77 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006044/0.6269, allocations: 404.1 kB / 1.523 GB, free: 9.355 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001362/0.6271, allocations: 59.7 kB / 1.523 GB, free: 9.297 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.6271, allocations: 4 kB / 1.523 GB, free: 9.293 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002508/0.6273, allocations: 9.719 kB / 1.523 GB, free: 9.285 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.6274, allocations: 16.03 kB / 1.523 GB, free: 9.27 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.6274, allocations: 4 kB / 1.523 GB, free: 9.266 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002501/0.6276, allocations: 215.1 kB / 1.523 GB, free: 9.055 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6276, allocations: 0 / 1.523 GB, free: 9.055 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004324/0.6281, allocations: 111.8 kB / 1.523 GB, free: 8.945 MB / 1.217 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.001051/0.6291, allocations: 0.9417 MB / 1.524 GB, free: 7.977 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0003235/0.6294, allocations: 158.4 kB / 1.524 GB, free: 7.824 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.6295, allocations: 4 kB / 1.524 GB, free: 7.82 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003405/0.6298, allocations: 194.6 kB / 1.525 GB, free: 7.617 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.6308, allocations: 185.1 kB / 1.525 GB, free: 7.441 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004236/0.635, allocations: 2.944 MB / 1.528 GB, free: 4.379 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005687/0.6356, allocations: 0.7921 MB / 1.528 GB, free: 3.562 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002602/0.6359, allocations: 63.17 kB / 1.529 GB, free: 3.504 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.6361, allocations: 111.4 kB / 1.529 GB, free: 3.398 MB / 1.217 GB Notification: Performance of SimCode: time 5.91e-07/0.6361, allocations: 0 / 1.529 GB, free: 3.398 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03631/0.6724, allocations: 9.284 MB / 1.538 GB, free: 10.33 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.39/13.07, allocations: 5.781 kB / 1.538 GB, free: 10.32 MB / 1.232 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1_fmu --startTime=0 --stopTime=10800 --stepSize=4.32 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 20.401496110949665]