Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00135/0.00135, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001569/0.001569, allocations: 219.5 kB / 22.24 MB, free: 5.102 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.467/1.467, 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 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.229/3.229, allocations: 0.49 GB / 0.7951 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Examples_Tutorial_SpaceCooling_System1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.SpaceCooling.System1,fileNamePrefix="Buildings_12_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.002105/0.002105, allocations: 72.39 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3407, allocations: 176.1 MB / 1.326 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1842/0.5249, allocations: 143.1 MB / 1.466 GB, free: 1.812 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.006/0.5309, allocations: 2.739 MB / 1.468 GB, free: 15.07 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007068/0.5316, allocations: 23.81 kB / 1.468 GB, free: 15.04 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0008708/0.5325, allocations: 194.8 kB / 1.468 GB, free: 14.85 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002399/0.5349, allocations: 0.8167 MB / 1.469 GB, free: 14.03 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.536, allocations: 359.1 kB / 1.47 GB, free: 13.68 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001963/0.538, allocations: 0.9755 MB / 1.471 GB, free: 12.7 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005018/0.5385, allocations: 221.3 kB / 1.471 GB, free: 12.48 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009021/0.5394, allocations: 382.6 kB / 1.471 GB, free: 12.11 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001093/0.5405, allocations: 318.4 kB / 1.471 GB, free: 11.8 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.5406, allocations: 36 kB / 1.471 GB, free: 11.77 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.5419, allocations: 0.5298 MB / 1.472 GB, free: 11.23 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.000215/0.5421, allocations: 135.6 kB / 1.472 GB, free: 11.1 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.000316/0.5424, allocations: 187.2 kB / 1.472 GB, free: 10.92 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.5439, allocations: 0.7358 MB / 1.473 GB, free: 10.18 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.5439, allocations: 0 / 1.473 GB, free: 10.18 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5439, allocations: 4 kB / 1.473 GB, free: 10.18 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.797e-05/0.5439, allocations: 0 / 1.473 GB, free: 10.18 MB / 1.17 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.001407/0.5454, allocations: 0.6407 MB / 1.474 GB, free: 9.504 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 7.05e-05/0.5454, allocations: 16.03 kB / 1.474 GB, free: 9.488 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.412e-05/0.5455, allocations: 62.53 kB / 1.474 GB, free: 9.418 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.5466, allocations: 135.6 kB / 1.474 GB, free: 9.285 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007922/0.5474, allocations: 367.9 kB / 1.474 GB, free: 8.895 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.546e-05/0.5474, allocations: 20.5 kB / 1.474 GB, free: 8.875 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.879e-05/0.5475, allocations: 24 kB / 1.474 GB, free: 8.852 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006563/0.5481, allocations: 377.6 kB / 1.475 GB, free: 8.449 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.165e-05/0.5482, allocations: 4 kB / 1.475 GB, free: 8.445 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.5482, allocations: 12 kB / 1.475 GB, free: 8.434 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.057e-05/0.5482, allocations: 8.5 kB / 1.475 GB, free: 8.426 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004543/0.5487, allocations: 197.8 kB / 1.475 GB, free: 8.23 MB / 1.17 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.002164/0.5508, allocations: 0.8427 MB / 1.476 GB, free: 7.344 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004715/0.5513, allocations: 190.7 kB / 1.476 GB, free: 7.148 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.5515, allocations: 84.83 kB / 1.476 GB, free: 7.062 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.5515, allocations: 0 / 1.476 GB, free: 7.062 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.379e-05/0.5516, allocations: 42.56 kB / 1.476 GB, free: 7.012 MB / 1.17 GB Notification: Performance of pre-optimization done (n=19): time 2.364e-06/0.5516, allocations: 0 / 1.476 GB, free: 7.012 MB / 1.17 GB Notification: Performance of matching and sorting (n=19): time 0.001145/0.5527, allocations: 323.6 kB / 1.476 GB, free: 6.688 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.5528, allocations: 55.41 kB / 1.476 GB, free: 6.621 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004683/0.5532, allocations: 296.6 kB / 1.477 GB, free: 6.324 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 4.377e-05/0.5533, allocations: 33.7 kB / 1.477 GB, free: 6.285 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.5535, allocations: 192.3 kB / 1.477 GB, free: 6.09 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.5536, allocations: 79.38 kB / 1.477 GB, free: 6.012 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001217/0.5537, allocations: 41.7 kB / 1.477 GB, free: 5.965 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002095/0.5539, allocations: 338.8 kB / 1.477 GB, free: 5.625 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.5541, allocations: 67.97 kB / 1.477 GB, free: 5.559 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.5542, allocations: 117.9 kB / 1.477 GB, free: 5.422 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.5545, allocations: 195.5 kB / 1.478 GB, free: 5.211 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5545, allocations: 0 / 1.478 GB, free: 5.211 MB / 1.17 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004728/0.555, allocations: 250.6 kB / 1.478 GB, free: 4.961 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.555, allocations: 8 kB / 1.478 GB, free: 4.953 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.555, allocations: 3.938 kB / 1.478 GB, free: 4.949 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.5551, allocations: 4 kB / 1.478 GB, free: 4.945 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002141/0.5553, allocations: 47.92 kB / 1.478 GB, free: 4.898 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.5553, allocations: 4 kB / 1.478 GB, free: 4.895 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003094/0.5556, allocations: 19.84 kB / 1.478 GB, free: 4.875 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.5556, allocations: 4 kB / 1.478 GB, free: 4.871 MB / 1.17 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.0002218/0.5558, allocations: 170.4 kB / 1.478 GB, free: 4.695 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-05/0.5559, allocations: 31.75 kB / 1.478 GB, free: 4.664 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.778e-05/0.556, allocations: 43.02 kB / 1.478 GB, free: 4.617 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.556, allocations: 0 / 1.478 GB, free: 4.617 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.621e-05/0.556, allocations: 3.984 kB / 1.478 GB, free: 4.613 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.556, allocations: 0 / 1.478 GB, free: 4.613 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005522/0.5566, allocations: 324.5 kB / 1.478 GB, free: 4.254 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5566, allocations: 0 / 1.478 GB, free: 4.254 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001815/0.5568, allocations: 35.86 kB / 1.479 GB, free: 4.219 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002692/0.557, allocations: 48.83 kB / 1.479 GB, free: 4.168 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.5571, allocations: 4 kB / 1.479 GB, free: 4.164 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001517/0.5586, allocations: 1.401 MB / 1.48 GB, free: 2.652 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/0.5586, allocations: 4 kB / 1.48 GB, free: 2.648 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000608/0.5592, allocations: 395.3 kB / 1.48 GB, free: 2.246 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.5593, allocations: 59.7 kB / 1.48 GB, free: 2.188 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.176e-05/0.5594, allocations: 7.938 kB / 1.48 GB, free: 2.18 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.5596, allocations: 16 kB / 1.48 GB, free: 2.164 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.911e-05/0.5597, allocations: 11.97 kB / 1.48 GB, free: 2.152 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/0.5597, allocations: 12 kB / 1.48 GB, free: 2.141 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002546/0.5599, allocations: 215.1 kB / 1.481 GB, free: 1.934 MB / 1.17 GB Notification: Performance of sort global known variables: time 6e-08/0.5599, allocations: 0 / 1.481 GB, free: 1.934 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.000444/0.5604, allocations: 103.8 kB / 1.481 GB, free: 1.832 MB / 1.17 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.001012/0.5614, allocations: 0.9454 MB / 1.482 GB, free: 0.8594 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003139/0.5617, allocations: 157.8 kB / 1.482 GB, free: 0.707 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.5617, allocations: 7.922 kB / 1.482 GB, free: 0.6992 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0003347/0.562, allocations: 195 kB / 1.482 GB, free: 0.4961 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.5631, allocations: 189 kB / 1.482 GB, free: 316 kB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/0.5669, allocations: 2.932 MB / 1.485 GB, free: 13.27 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002224/0.5671, allocations: 194 kB / 1.485 GB, free: 13.05 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0002618/0.5674, allocations: 67.23 kB / 1.485 GB, free: 12.99 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001712/0.5675, allocations: 103.4 kB / 1.485 GB, free: 12.89 MB / 1.186 GB Notification: Performance of SimCode: time 1.183e-06/0.5675, allocations: 0 / 1.485 GB, free: 12.89 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04509/0.6126, allocations: 10.36 MB / 1.496 GB, free: 2.82 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.86/12.47, allocations: 0 / 1.496 GB, free: 2.82 MB / 1.186 GB " [Timeout remaining time 287] (rm -f Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv --start-time 0 --stop-time 10800 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4.32 Buildings_12_Buildings_Examples_Tutorial_SpaceCooling_System1.fmu > Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_Tutorial_SpaceCooling_System1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv. Warning: Get data of variable vol.T_start from file Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv failed! Error: Could not read variable vol.T in file Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv. Warning: Get data of variable vol.T from file Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv failed! Error: Could not read variable TOut.T in file Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv. Warning: Get data of variable TOut.T from file Buildings_12_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.381114482006524]