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.001566/0.001566, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001708/0.001708, allocations: 211.9 kB / 22.24 MB, free: 5.262 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.447/1.447, allocations: 230.6 MB / 256 MB, free: 7.781 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.822/2.822, allocations: 476 MB / 0.7699 GB, free: 4.723 MB / 0.6231 GB " [Timeout remaining time 177] 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.002197/0.002197, allocations: 66.27 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.331, allocations: 170 MB / 1.283 GB, free: 12.47 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.1916/0.5226, allocations: 143.1 MB / 1.422 GB, free: 12.82 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.00511/0.5277, allocations: 2.723 MB / 1.425 GB, free: 10.09 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006806/0.5283, allocations: 23.81 kB / 1.425 GB, free: 10.07 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0008557/0.5292, allocations: 194.8 kB / 1.425 GB, free: 9.879 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 0.002513/0.5317, allocations: 0.8128 MB / 1.426 GB, free: 9.062 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.5328, allocations: 353.2 kB / 1.426 GB, free: 8.719 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.001631/0.5344, allocations: 0.9702 MB / 1.427 GB, free: 7.746 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004754/0.5349, allocations: 214.5 kB / 1.427 GB, free: 7.531 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008427/0.5357, allocations: 358.7 kB / 1.428 GB, free: 7.18 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001227/0.537, allocations: 296.1 kB / 1.428 GB, free: 6.895 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0001155/0.5371, allocations: 32 kB / 1.428 GB, free: 6.863 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001368/0.5384, allocations: 0.5337 MB / 1.429 GB, free: 6.328 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.5387, allocations: 135.5 kB / 1.429 GB, free: 6.195 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.0003448/0.539, allocations: 171.3 kB / 1.429 GB, free: 6.027 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.001723/0.5408, allocations: 0.7436 MB / 1.43 GB, free: 5.281 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.5408, allocations: 0 / 1.43 GB, free: 5.281 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.974e-06/0.5408, allocations: 0 / 1.43 GB, free: 5.281 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.982e-05/0.5408, allocations: 3.938 kB / 1.43 GB, free: 5.277 MB / 1.123 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.001579/0.5424, allocations: 0.6407 MB / 1.43 GB, free: 4.605 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.5424, allocations: 12.03 kB / 1.43 GB, free: 4.594 MB / 1.123 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.028e-05/0.5425, allocations: 58.53 kB / 1.43 GB, free: 4.527 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001107/0.5436, allocations: 143.6 kB / 1.43 GB, free: 4.387 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008526/0.5445, allocations: 360 kB / 1.431 GB, free: 4.008 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/0.5445, allocations: 28.44 kB / 1.431 GB, free: 3.98 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.413e-05/0.5446, allocations: 24 kB / 1.431 GB, free: 3.957 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005888/0.5451, allocations: 381.5 kB / 1.431 GB, free: 3.547 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.5452, allocations: 0 / 1.431 GB, free: 3.547 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.534e-05/0.5452, allocations: 12 kB / 1.431 GB, free: 3.535 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/0.5452, allocations: 8.5 kB / 1.431 GB, free: 3.527 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003787/0.5456, allocations: 189.9 kB / 1.431 GB, free: 3.344 MB / 1.123 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.001834/0.5474, allocations: 0.835 MB / 1.432 GB, free: 2.461 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004403/0.5479, allocations: 194.7 kB / 1.432 GB, free: 2.262 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.548, allocations: 81.17 kB / 1.433 GB, free: 2.18 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.5481, allocations: 3.984 kB / 1.433 GB, free: 2.176 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.368e-05/0.5481, allocations: 46.52 kB / 1.433 GB, free: 2.121 MB / 1.123 GB Notification: Performance of pre-optimization done (n=19): time 1.713e-06/0.5481, allocations: 4 kB / 1.433 GB, free: 2.117 MB / 1.123 GB Notification: Performance of matching and sorting (n=19): time 0.001009/0.5491, allocations: 327.9 kB / 1.433 GB, free: 1.789 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.846e-05/0.5492, allocations: 51.41 kB / 1.433 GB, free: 1.727 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003881/0.5496, allocations: 300.6 kB / 1.433 GB, free: 1.426 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.5496, allocations: 33.7 kB / 1.433 GB, free: 1.387 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.5498, allocations: 200.3 kB / 1.433 GB, free: 1.188 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.38e-05/0.5499, allocations: 67.39 kB / 1.433 GB, free: 1.121 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.175e-05/0.55, allocations: 49.64 kB / 1.434 GB, free: 1.066 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002001/0.5502, allocations: 338.8 kB / 1.434 GB, free: 0.7266 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.5503, allocations: 63.91 kB / 1.434 GB, free: 0.6641 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001638/0.5504, allocations: 123 kB / 1.434 GB, free: 0.5234 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.5507, allocations: 192.3 kB / 1.434 GB, free: 324 kB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.5507, allocations: 4 kB / 1.434 GB, free: 320 kB / 1.123 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004439/0.5512, allocations: 253.2 kB / 1.434 GB, free: 60 kB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.503e-05/0.5512, allocations: 4 kB / 1.434 GB, free: 56 kB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.5512, allocations: 4 kB / 1.434 GB, free: 52 kB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.524e-05/0.5512, allocations: 3.938 kB / 1.434 GB, free: 48 kB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.5514, allocations: 40.17 kB / 1.435 GB, free: 8 kB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-05/0.5515, allocations: 11.98 kB / 1.435 GB, free: 15.99 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.5518, allocations: 19.84 kB / 1.435 GB, free: 15.97 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.5519, allocations: 8 kB / 1.435 GB, free: 15.96 MB / 1.139 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.0002302/0.5521, allocations: 163.5 kB / 1.435 GB, free: 15.8 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-05/0.5522, allocations: 35.75 kB / 1.435 GB, free: 15.77 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.097e-05/0.5523, allocations: 35.02 kB / 1.435 GB, free: 15.73 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.5523, allocations: 0 / 1.435 GB, free: 15.73 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.5523, allocations: 4 kB / 1.435 GB, free: 15.72 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.5523, allocations: 3.984 kB / 1.435 GB, free: 15.72 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005323/0.5528, allocations: 324.5 kB / 1.435 GB, free: 15.36 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/0.5528, allocations: 4 kB / 1.435 GB, free: 15.36 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001765/0.553, allocations: 35.92 kB / 1.435 GB, free: 15.32 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002351/0.5532, allocations: 40.83 kB / 1.435 GB, free: 15.28 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.716e-05/0.5533, allocations: 8 kB / 1.435 GB, free: 15.27 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/0.5547, allocations: 1.401 MB / 1.437 GB, free: 13.75 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.5547, allocations: 4.062 kB / 1.437 GB, free: 13.75 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006158/0.5553, allocations: 406 kB / 1.437 GB, free: 13.34 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.5555, allocations: 51.77 kB / 1.437 GB, free: 13.29 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.675e-05/0.5555, allocations: 11.94 kB / 1.437 GB, free: 13.27 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.5558, allocations: 0 / 1.437 GB, free: 13.27 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.339e-05/0.5558, allocations: 19.97 kB / 1.437 GB, free: 13.25 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.539e-05/0.5558, allocations: 4 kB / 1.437 GB, free: 13.25 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0002496/0.5561, allocations: 215.1 kB / 1.437 GB, free: 13.04 MB / 1.139 GB Notification: Performance of sort global known variables: time 9e-08/0.5561, allocations: 0 / 1.437 GB, free: 13.04 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0004278/0.5565, allocations: 103.9 kB / 1.437 GB, free: 12.94 MB / 1.139 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.001088/0.5576, allocations: 0.9569 MB / 1.438 GB, free: 11.95 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0003376/0.5579, allocations: 151.8 kB / 1.438 GB, free: 11.8 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5579, allocations: 3.938 kB / 1.438 GB, free: 11.8 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0003632/0.5583, allocations: 208.4 kB / 1.439 GB, free: 11.59 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.5593, allocations: 196.8 kB / 1.439 GB, free: 11.4 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003926/0.5633, allocations: 2.933 MB / 1.442 GB, free: 8.359 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.5635, allocations: 186 kB / 1.442 GB, free: 8.16 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0002706/0.5638, allocations: 59.25 kB / 1.442 GB, free: 8.102 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.564, allocations: 103.4 kB / 1.442 GB, free: 8 MB / 1.139 GB Notification: Performance of SimCode: time 4.61e-07/0.564, allocations: 0 / 1.442 GB, free: 8 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04687/0.6108, allocations: 10.27 MB / 1.452 GB, free: 14.04 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.18/12.79, allocations: 0 / 1.452 GB, free: 14.04 MB / 1.154 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/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] "Error: Could not read variable vol.T_start in file Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv. Warning: Get data of variable vol.T_start from file Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv failed! Error: Could not read variable vol.T in file Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv. Warning: Get data of variable vol.T from file Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv failed! Error: Could not read variable TOut.T in file Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv. Warning: Get data of variable TOut.T from file Buildings_11_Buildings.Examples.Tutorial.SpaceCooling.System1_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.631822550669312]