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.001278/0.001278, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001551/0.001551, allocations: 216.9 kB / 22.26 MB, free: 5.082 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.496/1.496, allocations: 230.6 MB / 256 MB, free: 8.031 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.969/2.969, allocations: 476.7 MB / 0.7707 GB, free: 4.293 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_11_Buildings_Examples_Tutorial_SpaceCooling_System1",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.002122/0.002122, allocations: 67.48 kB / 1.117 GB, free: 39.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.388, allocations: 170 MB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2396/0.6276, allocations: 166 MB / 1.445 GB, free: 5.082 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.005782/0.6334, allocations: 2.939 MB / 1.448 GB, free: 2.137 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007363/0.6342, allocations: 19.88 kB / 1.448 GB, free: 2.117 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.000908/0.6351, allocations: 218.7 kB / 1.449 GB, free: 1.902 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00279/0.6379, allocations: 0.8245 MB / 1.449 GB, free: 1.074 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.639, allocations: 358.8 kB / 1.45 GB, free: 0.7266 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001894/0.6409, allocations: 0.9741 MB / 1.451 GB, free: 15.75 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000531/0.6415, allocations: 218.5 kB / 1.451 GB, free: 15.53 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009098/0.6424, allocations: 358.6 kB / 1.451 GB, free: 15.18 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001155/0.6435, allocations: 310.3 kB / 1.451 GB, free: 14.88 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001005/0.6436, allocations: 32 kB / 1.451 GB, free: 14.85 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001817/0.6455, allocations: 0.7014 MB / 1.452 GB, free: 14.14 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002706/0.6457, allocations: 139.5 kB / 1.452 GB, free: 14.01 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004469/0.6462, allocations: 211 kB / 1.452 GB, free: 13.8 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001856/0.648, allocations: 0.7514 MB / 1.453 GB, free: 13.05 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.648, allocations: 0 / 1.453 GB, free: 13.05 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.663e-06/0.648, allocations: 0 / 1.453 GB, free: 13.05 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.921e-05/0.6481, allocations: 3.938 kB / 1.453 GB, free: 13.04 MB / 1.154 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.001677/0.6497, allocations: 0.6523 MB / 1.454 GB, free: 12.36 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.6498, allocations: 12.03 kB / 1.454 GB, free: 12.35 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001841/0.65, allocations: 58.55 kB / 1.454 GB, free: 12.28 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001231/0.6512, allocations: 147.6 kB / 1.454 GB, free: 12.14 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008716/0.6521, allocations: 356 kB / 1.454 GB, free: 11.77 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.6521, allocations: 16.5 kB / 1.454 GB, free: 11.75 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.632e-05/0.6522, allocations: 24 kB / 1.454 GB, free: 11.73 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005428/0.6527, allocations: 286.7 kB / 1.455 GB, free: 11.43 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.6527, allocations: 0 / 1.455 GB, free: 11.43 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.6528, allocations: 11.94 kB / 1.455 GB, free: 11.42 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.185e-05/0.6528, allocations: 8.5 kB / 1.455 GB, free: 11.41 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004247/0.6532, allocations: 201.8 kB / 1.455 GB, free: 11.22 MB / 1.154 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.002433/0.6556, allocations: 1.284 MB / 1.456 GB, free: 9.801 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/0.6561, allocations: 178.9 kB / 1.456 GB, free: 9.617 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.6563, allocations: 85.11 kB / 1.456 GB, free: 9.531 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.6563, allocations: 4 kB / 1.456 GB, free: 9.527 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.6563, allocations: 38.52 kB / 1.456 GB, free: 9.48 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 2.425e-06/0.6563, allocations: 3.938 kB / 1.456 GB, free: 9.477 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001107/0.6574, allocations: 335.9 kB / 1.457 GB, free: 9.141 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.568e-05/0.6575, allocations: 51.41 kB / 1.457 GB, free: 9.078 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004402/0.658, allocations: 300.6 kB / 1.457 GB, free: 8.773 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.083e-05/0.658, allocations: 29.7 kB / 1.457 GB, free: 8.738 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.6582, allocations: 196.3 kB / 1.457 GB, free: 8.543 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 9.201e-05/0.6583, allocations: 75.38 kB / 1.457 GB, free: 8.469 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.934e-05/0.6584, allocations: 45.7 kB / 1.457 GB, free: 8.418 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.6586, allocations: 338.8 kB / 1.458 GB, free: 8.078 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.6587, allocations: 63.91 kB / 1.458 GB, free: 8.016 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/0.6588, allocations: 115.1 kB / 1.458 GB, free: 7.883 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.6591, allocations: 193.9 kB / 1.458 GB, free: 7.672 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.6592, allocations: 0 / 1.458 GB, free: 7.672 MB / 1.154 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004607/0.6596, allocations: 255.6 kB / 1.458 GB, free: 7.418 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.6596, allocations: 4 kB / 1.458 GB, free: 7.414 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/0.6596, allocations: 7.984 kB / 1.458 GB, free: 7.406 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/0.6597, allocations: 4 kB / 1.458 GB, free: 7.402 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002224/0.6599, allocations: 43.92 kB / 1.458 GB, free: 7.359 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.6599, allocations: 4 kB / 1.458 GB, free: 7.355 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003139/0.6602, allocations: 15.89 kB / 1.458 GB, free: 7.34 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.6602, allocations: 11.94 kB / 1.458 GB, free: 7.328 MB / 1.154 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.0002124/0.6604, allocations: 162 kB / 1.459 GB, free: 7.16 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.861e-05/0.6605, allocations: 43.7 kB / 1.459 GB, free: 7.117 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.66e-05/0.6606, allocations: 39 kB / 1.459 GB, free: 7.074 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.6606, allocations: 4 kB / 1.459 GB, free: 7.07 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/0.6606, allocations: 0 / 1.459 GB, free: 7.07 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.6607, allocations: 0 / 1.459 GB, free: 7.07 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000652/0.6613, allocations: 380.4 kB / 1.459 GB, free: 6.656 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.6613, allocations: 0 / 1.459 GB, free: 6.656 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001982/0.6615, allocations: 35.86 kB / 1.459 GB, free: 6.621 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002628/0.6618, allocations: 44.83 kB / 1.459 GB, free: 6.574 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.421e-05/0.6618, allocations: 8 kB / 1.459 GB, free: 6.566 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001718/0.6635, allocations: 1.404 MB / 1.461 GB, free: 5.047 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6635, allocations: 0 / 1.461 GB, free: 5.047 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007253/0.6642, allocations: 401.9 kB / 1.461 GB, free: 4.637 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001907/0.6644, allocations: 55.77 kB / 1.461 GB, free: 4.582 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.463e-05/0.6645, allocations: 12 kB / 1.461 GB, free: 4.57 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002809/0.6648, allocations: 6.125 kB / 1.461 GB, free: 4.566 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.183e-05/0.6648, allocations: 19.91 kB / 1.461 GB, free: 4.547 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.3e-05/0.6648, allocations: 7.984 kB / 1.461 GB, free: 4.539 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0003539/0.6652, allocations: 215.1 kB / 1.461 GB, free: 4.328 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6652, allocations: 0 / 1.461 GB, free: 4.328 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.000511/0.6657, allocations: 103.8 kB / 1.461 GB, free: 4.227 MB / 1.154 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.001189/0.6669, allocations: 0.9473 MB / 1.462 GB, free: 3.25 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000385/0.6673, allocations: 158.1 kB / 1.462 GB, free: 3.098 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.6673, allocations: 0 / 1.462 GB, free: 3.098 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0003852/0.6677, allocations: 198.5 kB / 1.463 GB, free: 2.891 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001076/0.6687, allocations: 198.6 kB / 1.463 GB, free: 2.703 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004936/0.6737, allocations: 2.92 MB / 1.466 GB, free: 15.67 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006507/0.6743, allocations: 0.7998 MB / 1.466 GB, free: 14.85 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000417/0.6747, allocations: 63.19 kB / 1.466 GB, free: 14.79 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.675, allocations: 107.4 kB / 1.467 GB, free: 14.68 MB / 1.17 GB Notification: Performance of SimCode: time 1.002e-06/0.675, allocations: 4 kB / 1.467 GB, free: 14.68 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05175/0.7267, allocations: 9.235 MB / 1.476 GB, free: 5.672 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.3, allocations: 6.5 kB / 1.476 GB, free: 5.668 MB / 1.17 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: 20.37124096392654]