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.001748/0.001748, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002357/0.002357, allocations: 212.7 kB / 22.25 MB, free: 4.855 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.474/1.474, allocations: 230.6 MB / 256 MB, free: 7.801 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.304/3.304, allocations: 0.5107 GB / 0.8158 GB, free: 17.79 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.002121/0.002121, allocations: 73.64 kB / 1.186 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3648, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1903/0.5551, allocations: 143.1 MB / 1.503 GB, free: 14.43 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.004953/0.56, allocations: 2.748 MB / 1.506 GB, free: 11.68 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003426/0.5604, allocations: 23.81 kB / 1.506 GB, free: 11.65 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006626/0.561, allocations: 194.8 kB / 1.506 GB, free: 11.46 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002013/0.563, allocations: 0.8012 MB / 1.507 GB, free: 10.66 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007653/0.5638, allocations: 351.2 kB / 1.507 GB, free: 10.31 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001268/0.5651, allocations: 0.9724 MB / 1.508 GB, free: 9.34 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003242/0.5654, allocations: 202.5 kB / 1.508 GB, free: 9.141 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006424/0.566, allocations: 390.6 kB / 1.509 GB, free: 8.758 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009037/0.5669, allocations: 305.3 kB / 1.509 GB, free: 8.461 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 6.079e-05/0.567, allocations: 32 kB / 1.509 GB, free: 8.43 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009623/0.568, allocations: 0.5259 MB / 1.509 GB, free: 7.902 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.5681, allocations: 139.5 kB / 1.51 GB, free: 7.766 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.5684, allocations: 183.2 kB / 1.51 GB, free: 7.586 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00117/0.5695, allocations: 0.732 MB / 1.511 GB, free: 6.852 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.5695, allocations: 3.984 kB / 1.511 GB, free: 6.848 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5695, allocations: 0 / 1.511 GB, free: 6.848 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.5695, allocations: 3.938 kB / 1.511 GB, free: 6.844 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.00134/0.5709, allocations: 0.6485 MB / 1.511 GB, free: 6.164 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.5709, allocations: 11.97 kB / 1.511 GB, free: 6.152 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.208e-05/0.571, allocations: 58.53 kB / 1.511 GB, free: 6.086 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009851/0.572, allocations: 135.7 kB / 1.511 GB, free: 5.953 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006894/0.5727, allocations: 368 kB / 1.512 GB, free: 5.566 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.505e-05/0.5727, allocations: 16.5 kB / 1.512 GB, free: 5.551 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.076e-05/0.5728, allocations: 27.95 kB / 1.512 GB, free: 5.523 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005769/0.5733, allocations: 385.5 kB / 1.512 GB, free: 5.113 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.5733, allocations: 0 / 1.512 GB, free: 5.113 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.5734, allocations: 15.94 kB / 1.512 GB, free: 5.098 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.5734, allocations: 8.5 kB / 1.512 GB, free: 5.086 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004101/0.5738, allocations: 193.9 kB / 1.512 GB, free: 4.895 MB / 1.201 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.001655/0.5755, allocations: 0.8427 MB / 1.513 GB, free: 4.004 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000404/0.5759, allocations: 186.8 kB / 1.513 GB, free: 3.812 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.576, allocations: 80.83 kB / 1.513 GB, free: 3.73 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.576, allocations: 4 kB / 1.513 GB, free: 3.727 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.5761, allocations: 34.56 kB / 1.513 GB, free: 3.684 MB / 1.201 GB Notification: Performance of pre-optimization done (n=19): time 1.393e-06/0.5761, allocations: 8 kB / 1.513 GB, free: 3.676 MB / 1.201 GB Notification: Performance of matching and sorting (n=19): time 0.0009872/0.5771, allocations: 321.3 kB / 1.514 GB, free: 3.355 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.5771, allocations: 55.41 kB / 1.514 GB, free: 3.289 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003598/0.5775, allocations: 300.5 kB / 1.514 GB, free: 2.984 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 3.287e-05/0.5775, allocations: 37.7 kB / 1.514 GB, free: 2.941 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.000251/0.5778, allocations: 196.3 kB / 1.514 GB, free: 2.742 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.884e-05/0.5778, allocations: 63.44 kB / 1.514 GB, free: 2.68 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001328/0.578, allocations: 49.66 kB / 1.514 GB, free: 2.625 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0002167/0.5782, allocations: 342.8 kB / 1.515 GB, free: 2.281 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/0.5783, allocations: 63.97 kB / 1.515 GB, free: 2.219 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.5785, allocations: 120.1 kB / 1.515 GB, free: 2.082 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.5787, allocations: 200.1 kB / 1.515 GB, free: 1.867 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5788, allocations: 0 / 1.515 GB, free: 1.867 MB / 1.201 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004014/0.5792, allocations: 253.2 kB / 1.515 GB, free: 1.613 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.428e-05/0.5792, allocations: 10.97 kB / 1.515 GB, free: 1.605 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.5792, allocations: 0 / 1.515 GB, free: 1.605 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.5792, allocations: 4 kB / 1.515 GB, free: 1.602 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002002/0.5794, allocations: 43.92 kB / 1.515 GB, free: 1.559 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.5794, allocations: 4.188 kB / 1.515 GB, free: 1.555 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002831/0.5797, allocations: 15.89 kB / 1.515 GB, free: 1.539 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/0.5797, allocations: 11.94 kB / 1.515 GB, free: 1.527 MB / 1.201 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.0002244/0.5799, allocations: 165.7 kB / 1.516 GB, free: 1.355 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.262e-05/0.58, allocations: 35.75 kB / 1.516 GB, free: 1.32 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.334e-05/0.5801, allocations: 35.02 kB / 1.516 GB, free: 1.281 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.5801, allocations: 7.984 kB / 1.516 GB, free: 1.273 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5801, allocations: 0 / 1.516 GB, free: 1.273 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.765e-06/0.5801, allocations: 3.984 kB / 1.516 GB, free: 1.27 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004961/0.5806, allocations: 320.5 kB / 1.516 GB, free: 0.9141 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.5806, allocations: 4 kB / 1.516 GB, free: 0.9102 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001838/0.5808, allocations: 43.92 kB / 1.516 GB, free: 0.8672 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000203/0.581, allocations: 36.83 kB / 1.516 GB, free: 0.8281 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.581, allocations: 8 kB / 1.516 GB, free: 0.8203 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001383/0.5824, allocations: 1.397 MB / 1.517 GB, free: 15.31 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.392e-06/0.5824, allocations: 64 / 1.517 GB, free: 15.31 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006125/0.583, allocations: 406.7 kB / 1.518 GB, free: 14.9 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001486/0.5832, allocations: 59.77 kB / 1.518 GB, free: 14.84 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.5832, allocations: 3.938 kB / 1.518 GB, free: 14.84 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002548/0.5835, allocations: 8 kB / 1.518 GB, free: 14.83 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.5835, allocations: 20.14 kB / 1.518 GB, free: 14.81 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.5835, allocations: 4 kB / 1.518 GB, free: 14.8 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000248/0.5838, allocations: 219.1 kB / 1.518 GB, free: 14.59 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.5838, allocations: 0 / 1.518 GB, free: 14.59 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004693/0.5842, allocations: 99.89 kB / 1.518 GB, free: 14.5 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.001234/0.5855, allocations: 0.9511 MB / 1.519 GB, free: 13.52 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0003551/0.5858, allocations: 158.2 kB / 1.519 GB, free: 13.36 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5858, allocations: 0 / 1.519 GB, free: 13.36 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.000381/0.5862, allocations: 202.6 kB / 1.519 GB, free: 13.15 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001078/0.5873, allocations: 191.5 kB / 1.52 GB, free: 12.96 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0039/0.5912, allocations: 2.924 MB / 1.523 GB, free: 9.934 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.5914, allocations: 201.9 kB / 1.523 GB, free: 9.715 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002487/0.5916, allocations: 59.19 kB / 1.523 GB, free: 9.656 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.5918, allocations: 103.4 kB / 1.523 GB, free: 9.555 MB / 1.217 GB Notification: Performance of SimCode: time 7.51e-07/0.5918, allocations: 0 / 1.523 GB, free: 9.555 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04702/0.6389, allocations: 10.28 MB / 1.533 GB, free: 15.56 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.12/12.76, allocations: 6.422 kB / 1.533 GB, free: 15.56 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.789644745644182]