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.001392/0.001392, allocations: 114.3 kB / 18.94 MB, free: 2.789 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.001632/0.001632, allocations: 220 kB / 22.26 MB, free: 5.211 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.455/1.455, allocations: 230.6 MB / 256 MB, free: 8 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 3.059/3.059, allocations: 476.8 MB / 0.7707 GB, free: 4.258 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.002233/0.002233, allocations: 68.64 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.445/0.4473, 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.2277/0.675, allocations: 166 MB / 1.445 GB, free: 5.086 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.006211/0.6812, allocations: 2.945 MB / 1.448 GB, free: 2.133 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009216/0.6821, allocations: 19.88 kB / 1.448 GB, free: 2.113 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.6831, allocations: 214.8 kB / 1.449 GB, free: 1.902 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.00298/0.6861, allocations: 0.8232 MB / 1.449 GB, free: 1.078 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.00129/0.6874, allocations: 359.1 kB / 1.45 GB, free: 0.7266 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.00205/0.6895, allocations: 0.9741 MB / 1.451 GB, free: 15.75 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005006/0.69, allocations: 210.5 kB / 1.451 GB, free: 15.54 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009327/0.6909, allocations: 362.6 kB / 1.451 GB, free: 15.18 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.6922, allocations: 311.6 kB / 1.451 GB, free: 14.89 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0001118/0.6923, allocations: 32 kB / 1.451 GB, free: 14.86 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001873/0.6942, allocations: 0.7014 MB / 1.452 GB, free: 14.15 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.6944, allocations: 139.5 kB / 1.452 GB, free: 14.02 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0004199/0.6948, allocations: 215 kB / 1.453 GB, free: 13.8 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.6968, allocations: 0.7514 MB / 1.453 GB, free: 13.05 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.6968, allocations: 0 / 1.453 GB, free: 13.05 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.104e-06/0.6968, allocations: 0 / 1.453 GB, free: 13.05 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.6968, allocations: 0 / 1.453 GB, free: 13.05 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.001583/0.6984, allocations: 0.6577 MB / 1.454 GB, free: 12.36 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 6.083e-05/0.6984, allocations: 8.031 kB / 1.454 GB, free: 12.36 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001175/0.6985, allocations: 58.53 kB / 1.454 GB, free: 12.29 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.6997, allocations: 139.6 kB / 1.454 GB, free: 12.15 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009149/0.7006, allocations: 371.9 kB / 1.454 GB, free: 11.76 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.523e-05/0.7007, allocations: 16.5 kB / 1.454 GB, free: 11.75 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.7e-05/0.7007, allocations: 24 kB / 1.454 GB, free: 11.72 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005657/0.7013, allocations: 270.8 kB / 1.455 GB, free: 11.45 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.885e-05/0.7013, allocations: 0 / 1.455 GB, free: 11.45 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.7013, allocations: 15.94 kB / 1.455 GB, free: 11.43 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.844e-05/0.7014, allocations: 12.48 kB / 1.455 GB, free: 11.42 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003757/0.7018, allocations: 197.8 kB / 1.455 GB, free: 11.23 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.002421/0.7042, allocations: 1.284 MB / 1.456 GB, free: 9.809 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004491/0.7046, allocations: 190.8 kB / 1.456 GB, free: 9.613 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.7048, allocations: 84.77 kB / 1.456 GB, free: 9.527 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.7048, allocations: 0 / 1.456 GB, free: 9.527 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.478e-05/0.7048, allocations: 42.56 kB / 1.457 GB, free: 9.477 MB / 1.154 GB Notification: Performance of pre-optimization done (n=19): time 1.643e-06/0.7048, allocations: 0 / 1.457 GB, free: 9.477 MB / 1.154 GB Notification: Performance of matching and sorting (n=19): time 0.001083/0.7059, allocations: 324.8 kB / 1.457 GB, free: 9.152 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.424e-05/0.706, allocations: 59.41 kB / 1.457 GB, free: 9.082 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004307/0.7064, allocations: 296.6 kB / 1.457 GB, free: 8.785 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.464e-05/0.7065, allocations: 29.7 kB / 1.457 GB, free: 8.75 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001773/0.7066, allocations: 200.3 kB / 1.457 GB, free: 8.551 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 9.375e-05/0.7067, allocations: 71.38 kB / 1.457 GB, free: 8.48 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.263e-05/0.7068, allocations: 45.7 kB / 1.457 GB, free: 8.43 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001626/0.707, allocations: 338.8 kB / 1.458 GB, free: 8.09 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001195/0.7071, allocations: 67.91 kB / 1.458 GB, free: 8.023 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001795/0.7073, allocations: 114 kB / 1.458 GB, free: 7.891 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.7076, allocations: 197.9 kB / 1.458 GB, free: 7.676 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.7076, allocations: 0 / 1.458 GB, free: 7.676 MB / 1.154 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005029/0.7081, allocations: 251.3 kB / 1.458 GB, free: 7.426 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.7081, allocations: 8 kB / 1.458 GB, free: 7.418 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.7081, allocations: 3.938 kB / 1.458 GB, free: 7.414 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.059e-05/0.7082, allocations: 4.188 kB / 1.458 GB, free: 7.41 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.7084, allocations: 47.92 kB / 1.458 GB, free: 7.363 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.7084, allocations: 0 / 1.458 GB, free: 7.363 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.7087, allocations: 19.84 kB / 1.458 GB, free: 7.344 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.915e-05/0.7087, allocations: 12 kB / 1.459 GB, free: 7.332 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.0002569/0.709, allocations: 162.4 kB / 1.459 GB, free: 7.164 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.529e-05/0.7091, allocations: 35.75 kB / 1.459 GB, free: 7.129 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.7092, allocations: 35.02 kB / 1.459 GB, free: 7.09 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.7092, allocations: 4 kB / 1.459 GB, free: 7.086 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.7092, allocations: 4 kB / 1.459 GB, free: 7.082 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/0.7092, allocations: 3.984 kB / 1.459 GB, free: 7.078 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006631/0.7099, allocations: 372.4 kB / 1.459 GB, free: 6.672 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.7099, allocations: 0 / 1.459 GB, free: 6.672 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002035/0.7101, allocations: 39.86 kB / 1.459 GB, free: 6.633 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002555/0.7104, allocations: 40.83 kB / 1.459 GB, free: 6.59 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.7104, allocations: 7.938 kB / 1.459 GB, free: 6.582 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.7119, allocations: 1.412 MB / 1.461 GB, free: 5.055 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.7119, allocations: 0 / 1.461 GB, free: 5.055 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007214/0.7127, allocations: 401.8 kB / 1.461 GB, free: 4.645 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.7129, allocations: 55.77 kB / 1.461 GB, free: 4.59 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.58e-05/0.7129, allocations: 7.938 kB / 1.461 GB, free: 4.582 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002591/0.7132, allocations: 4 kB / 1.461 GB, free: 4.578 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.555e-05/0.7132, allocations: 19.91 kB / 1.461 GB, free: 4.559 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.865e-05/0.7132, allocations: 4 kB / 1.461 GB, free: 4.555 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002993/0.7135, allocations: 223.1 kB / 1.461 GB, free: 4.336 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.7135, allocations: 0 / 1.461 GB, free: 4.336 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0005184/0.7141, allocations: 107.9 kB / 1.461 GB, free: 4.23 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.00114/0.7152, allocations: 0.9482 MB / 1.462 GB, free: 3.258 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0003684/0.7156, allocations: 151.8 kB / 1.462 GB, free: 3.109 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.7156, allocations: 4.312 kB / 1.462 GB, free: 3.105 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000394/0.716, allocations: 198.6 kB / 1.463 GB, free: 2.898 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.717, allocations: 196.9 kB / 1.463 GB, free: 2.707 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004182/0.7212, allocations: 2.936 MB / 1.466 GB, free: 15.66 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004902/0.7217, allocations: 0.7921 MB / 1.466 GB, free: 14.84 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.000315/0.722, allocations: 63.23 kB / 1.466 GB, free: 14.78 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.7221, allocations: 107.4 kB / 1.467 GB, free: 14.68 MB / 1.17 GB Notification: Performance of SimCode: time 1.162e-06/0.7221, allocations: 0 / 1.467 GB, free: 14.68 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0474/0.7695, allocations: 9.23 MB / 1.476 GB, free: 5.68 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.41/13.18, allocations: 16.94 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 & 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: 20.711740624999948]