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.001933/0.001933, 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.002877/0.002877, allocations: 220.3 kB / 22.26 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.479/1.479, allocations: 230.6 MB / 256 MB, free: 7.988 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.3/3.3, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_latest_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.002774/0.002774, allocations: 67.44 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4026, allocations: 180.2 MB / 1.353 GB, free: 8.484 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2044/0.607, allocations: 166 MB / 1.515 GB, free: 1.871 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005309/0.6123, allocations: 2.948 MB / 1.518 GB, free: 14.92 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005581/0.6129, allocations: 19.88 kB / 1.518 GB, free: 14.9 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0007763/0.6136, allocations: 214.8 kB / 1.518 GB, free: 14.69 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.002223/0.6159, allocations: 0.8245 MB / 1.519 GB, free: 13.86 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.000888/0.6167, allocations: 352.6 kB / 1.519 GB, free: 13.52 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001386/0.6181, allocations: 0.9742 MB / 1.52 GB, free: 12.54 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003556/0.6185, allocations: 214.5 kB / 1.52 GB, free: 12.32 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007003/0.6192, allocations: 402.5 kB / 1.521 GB, free: 11.93 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009285/0.6201, allocations: 302.6 kB / 1.521 GB, free: 11.63 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 5.831e-05/0.6202, allocations: 32 kB / 1.521 GB, free: 11.6 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.6215, allocations: 0.7014 MB / 1.522 GB, free: 10.9 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.6217, allocations: 131.6 kB / 1.522 GB, free: 10.77 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0002544/0.622, allocations: 219 kB / 1.522 GB, free: 10.55 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001333/0.6233, allocations: 0.7514 MB / 1.523 GB, free: 9.801 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.6233, allocations: 0 / 1.523 GB, free: 9.801 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6233, allocations: 0 / 1.523 GB, free: 9.801 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.047e-05/0.6233, allocations: 0 / 1.523 GB, free: 9.801 MB / 1.217 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.001299/0.6246, allocations: 0.6562 MB / 1.523 GB, free: 9.113 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.6247, allocations: 12.03 kB / 1.523 GB, free: 9.102 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.858e-05/0.6247, allocations: 62.52 kB / 1.523 GB, free: 9.031 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.6258, allocations: 135.6 kB / 1.524 GB, free: 8.898 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006761/0.6264, allocations: 372 kB / 1.524 GB, free: 8.508 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.303e-05/0.6265, allocations: 12.5 kB / 1.524 GB, free: 8.496 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.6265, allocations: 24 kB / 1.524 GB, free: 8.473 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004831/0.627, allocations: 282.7 kB / 1.524 GB, free: 8.184 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.627, allocations: 0 / 1.524 GB, free: 8.184 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.35e-05/0.6271, allocations: 12 kB / 1.524 GB, free: 8.172 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/0.6271, allocations: 12.48 kB / 1.524 GB, free: 8.16 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003644/0.6274, allocations: 193.9 kB / 1.524 GB, free: 7.969 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.001921/0.6294, allocations: 1.291 MB / 1.526 GB, free: 6.547 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004375/0.6298, allocations: 190.8 kB / 1.526 GB, free: 6.352 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001471/0.6299, allocations: 80.83 kB / 1.526 GB, free: 6.27 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.63, allocations: 0 / 1.526 GB, free: 6.27 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/0.63, allocations: 38.56 kB / 1.526 GB, free: 6.223 MB / 1.217 GB Notification: Performance of pre-optimization done (n=19): time 1.202e-06/0.63, allocations: 0 / 1.526 GB, free: 6.223 MB / 1.217 GB Notification: Performance of matching and sorting (n=19): time 0.0009889/0.631, allocations: 324.1 kB / 1.526 GB, free: 5.898 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.631, allocations: 55.41 kB / 1.526 GB, free: 5.832 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.6314, allocations: 296.6 kB / 1.527 GB, free: 5.535 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.6314, allocations: 33.7 kB / 1.527 GB, free: 5.496 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001566/0.6316, allocations: 196.3 kB / 1.527 GB, free: 5.301 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 7.202e-05/0.6317, allocations: 71.39 kB / 1.527 GB, free: 5.23 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.382e-05/0.6318, allocations: 45.7 kB / 1.527 GB, free: 5.18 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.6319, allocations: 338.8 kB / 1.527 GB, free: 4.84 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.632, allocations: 63.97 kB / 1.527 GB, free: 4.777 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.6322, allocations: 125.8 kB / 1.528 GB, free: 4.633 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.6325, allocations: 199.7 kB / 1.528 GB, free: 4.418 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.6325, allocations: 0 / 1.528 GB, free: 4.418 MB / 1.217 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003857/0.6329, allocations: 258.2 kB / 1.528 GB, free: 4.16 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.6329, allocations: 8 kB / 1.528 GB, free: 4.152 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.6329, allocations: 0 / 1.528 GB, free: 4.152 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.633, allocations: 7.938 kB / 1.528 GB, free: 4.145 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000192/0.6331, allocations: 39.98 kB / 1.528 GB, free: 4.105 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/0.6332, allocations: 3.938 kB / 1.528 GB, free: 4.102 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002653/0.6334, allocations: 23.89 kB / 1.528 GB, free: 4.078 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.6334, allocations: 4 kB / 1.528 GB, free: 4.074 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.0001828/0.6336, allocations: 166 kB / 1.528 GB, free: 3.902 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.105e-05/0.6337, allocations: 39.73 kB / 1.528 GB, free: 3.863 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.232e-05/0.6338, allocations: 35.02 kB / 1.528 GB, free: 3.824 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.6338, allocations: 7.984 kB / 1.528 GB, free: 3.816 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.735e-06/0.6338, allocations: 0 / 1.528 GB, free: 3.816 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.6338, allocations: 0 / 1.528 GB, free: 3.816 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005186/0.6343, allocations: 384.2 kB / 1.529 GB, free: 3.398 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.6343, allocations: 4 kB / 1.529 GB, free: 3.395 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001805/0.6345, allocations: 31.92 kB / 1.529 GB, free: 3.363 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000256/0.6347, allocations: 48.83 kB / 1.529 GB, free: 3.312 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.6348, allocations: 3.984 kB / 1.529 GB, free: 3.309 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/0.6362, allocations: 1.408 MB / 1.53 GB, free: 1.785 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6362, allocations: 0 / 1.53 GB, free: 1.785 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000585/0.6367, allocations: 394.7 kB / 1.53 GB, free: 1.383 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001325/0.6369, allocations: 63.81 kB / 1.531 GB, free: 1.32 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.998e-05/0.6369, allocations: 7.938 kB / 1.531 GB, free: 1.312 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.6372, allocations: 8.219 kB / 1.531 GB, free: 1.305 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.6372, allocations: 15.97 kB / 1.531 GB, free: 1.289 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.6372, allocations: 7.984 kB / 1.531 GB, free: 1.281 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0002421/0.6375, allocations: 219.1 kB / 1.531 GB, free: 1.066 MB / 1.217 GB Notification: Performance of sort global known variables: time 9e-08/0.6375, allocations: 0 / 1.531 GB, free: 1.066 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004458/0.6379, allocations: 107.8 kB / 1.531 GB, free: 0.9609 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.001026/0.6389, allocations: 0.9415 MB / 1.532 GB, free: 15.99 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0003058/0.6392, allocations: 155.8 kB / 1.532 GB, free: 15.84 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.6392, allocations: 0 / 1.532 GB, free: 15.84 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0003274/0.6396, allocations: 196.8 kB / 1.532 GB, free: 15.63 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009855/0.6405, allocations: 208.1 kB / 1.532 GB, free: 15.44 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003821/0.6444, allocations: 2.932 MB / 1.535 GB, free: 12.39 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004485/0.6448, allocations: 0.7921 MB / 1.536 GB, free: 11.57 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002622/0.6451, allocations: 59.25 kB / 1.536 GB, free: 11.52 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001702/0.6452, allocations: 107.4 kB / 1.536 GB, free: 11.41 MB / 1.232 GB Notification: Performance of SimCode: time 7.21e-07/0.6452, allocations: 4 kB / 1.536 GB, free: 11.41 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.043/0.6882, allocations: 9.238 MB / 1.545 GB, free: 2.371 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.45, allocations: 6.672 kB / 1.545 GB, free: 2.367 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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv --start-time 0 --stop-time 10800 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4.32 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.csv","/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] "Error: Could not read variable vol.T_start in file Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv. Warning: Get data of variable vol.T_start from file Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv failed! Error: Could not read variable vol.T in file Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv. Warning: Get data of variable vol.T from file Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv failed! Error: Could not read variable TOut.T in file Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv. Warning: Get data of variable TOut.T from file Buildings_latest_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.587753883000005]