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.001517/0.001517, allocations: 108.2 kB / 16.46 MB, free: 6.512 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.001994/0.001994, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.494/1.494, allocations: 230.6 MB / 252.8 MB, free: 8.965 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.29/3.29, allocations: 0.505 GB / 0.8066 GB, free: 23.11 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.00245/0.00245, allocations: 68.08 kB / 1.172 GB, free: 17.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4381/0.4406, allocations: 180.2 MB / 1.348 GB, free: 10.14 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.2192/0.6598, allocations: 165.8 MB / 1.51 GB, free: 3.68 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.005975/0.6657, allocations: 2.934 MB / 1.513 GB, free: 0.7383 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008718/0.6666, allocations: 23.81 kB / 1.513 GB, free: 0.7148 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000994/0.6676, allocations: 222.7 kB / 1.513 GB, free: 0.4961 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.002739/0.6703, allocations: 0.7935 MB / 1.514 GB, free: 15.7 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.6715, allocations: 350.3 kB / 1.514 GB, free: 15.36 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001753/0.6732, allocations: 0.9351 MB / 1.515 GB, free: 14.41 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005244/0.6738, allocations: 222.2 kB / 1.515 GB, free: 14.2 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009601/0.6747, allocations: 386.7 kB / 1.515 GB, free: 13.82 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001209/0.6759, allocations: 315.2 kB / 1.516 GB, free: 13.51 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001236/0.6761, allocations: 32 kB / 1.516 GB, free: 13.48 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.6776, allocations: 0.678 MB / 1.516 GB, free: 12.8 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0002663/0.6779, allocations: 139.5 kB / 1.517 GB, free: 12.66 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0004079/0.6783, allocations: 219 kB / 1.517 GB, free: 12.45 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.6801, allocations: 0.7513 MB / 1.517 GB, free: 11.7 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.6801, allocations: 0 / 1.517 GB, free: 11.7 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.254e-06/0.6801, allocations: 4 kB / 1.517 GB, free: 11.7 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.95e-05/0.6802, allocations: 3.938 kB / 1.517 GB, free: 11.69 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.001715/0.6819, allocations: 0.7238 MB / 1.518 GB, free: 10.92 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.6819, allocations: 15.98 kB / 1.518 GB, free: 10.9 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001066/0.682, allocations: 58.55 kB / 1.518 GB, free: 10.84 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.6833, allocations: 147.6 kB / 1.518 GB, free: 10.69 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008408/0.6841, allocations: 414.6 kB / 1.519 GB, free: 10.24 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/0.6841, allocations: 20.56 kB / 1.519 GB, free: 10.22 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.176e-05/0.6842, allocations: 27.94 kB / 1.519 GB, free: 10.2 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005524/0.6847, allocations: 275.7 kB / 1.519 GB, free: 9.918 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.6848, allocations: 0 / 1.519 GB, free: 9.918 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.039e-05/0.6848, allocations: 15.98 kB / 1.519 GB, free: 9.902 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.926e-05/0.6848, allocations: 12.56 kB / 1.519 GB, free: 9.891 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.6853, allocations: 194.1 kB / 1.519 GB, free: 9.695 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.002373/0.6876, allocations: 1.327 MB / 1.521 GB, free: 8.227 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004606/0.6881, allocations: 188.5 kB / 1.521 GB, free: 8.035 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.6883, allocations: 84.83 kB / 1.521 GB, free: 7.949 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 2.261e-05/0.6883, allocations: 4 kB / 1.521 GB, free: 7.945 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.68e-05/0.6883, allocations: 38.5 kB / 1.521 GB, free: 7.898 MB / 1.217 GB Notification: Performance of pre-optimization done (n=19): time 2.545e-06/0.6883, allocations: 0 / 1.521 GB, free: 7.898 MB / 1.217 GB Notification: Performance of matching and sorting (n=19): time 0.001131/0.6895, allocations: 401.3 kB / 1.521 GB, free: 7.48 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.6895, allocations: 51.41 kB / 1.521 GB, free: 7.418 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004128/0.6899, allocations: 300.6 kB / 1.522 GB, free: 7.109 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.806e-05/0.69, allocations: 29.7 kB / 1.522 GB, free: 7.074 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/0.6901, allocations: 200.3 kB / 1.522 GB, free: 6.875 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.6902, allocations: 75.27 kB / 1.522 GB, free: 6.801 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.6903, allocations: 49.7 kB / 1.522 GB, free: 6.746 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.6905, allocations: 334.8 kB / 1.522 GB, free: 6.41 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001268/0.6906, allocations: 63.97 kB / 1.522 GB, free: 6.348 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.6908, allocations: 119.4 kB / 1.522 GB, free: 6.211 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003194/0.6911, allocations: 206.8 kB / 1.523 GB, free: 5.988 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.6911, allocations: 0 / 1.523 GB, free: 5.988 MB / 1.217 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004701/0.6916, allocations: 259.2 kB / 1.523 GB, free: 5.73 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.6916, allocations: 4 kB / 1.523 GB, free: 5.727 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.337e-06/0.6916, allocations: 4 kB / 1.523 GB, free: 5.723 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.6916, allocations: 0 / 1.523 GB, free: 5.723 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.6919, allocations: 43.92 kB / 1.523 GB, free: 5.68 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.6919, allocations: 4 kB / 1.523 GB, free: 5.676 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.6922, allocations: 15.89 kB / 1.523 GB, free: 5.66 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.208e-05/0.6922, allocations: 8 kB / 1.523 GB, free: 5.652 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.0002033/0.6924, allocations: 165.7 kB / 1.523 GB, free: 5.48 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.6925, allocations: 43.8 kB / 1.523 GB, free: 5.438 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/0.6926, allocations: 35.08 kB / 1.523 GB, free: 5.398 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-06/0.6926, allocations: 0 / 1.523 GB, free: 5.398 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.6926, allocations: 4 kB / 1.523 GB, free: 5.395 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.6927, allocations: 0 / 1.523 GB, free: 5.395 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006887/0.6933, allocations: 413.2 kB / 1.524 GB, free: 4.941 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.391e-06/0.6933, allocations: 0 / 1.524 GB, free: 4.941 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001955/0.6935, allocations: 31.92 kB / 1.524 GB, free: 4.91 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002755/0.6938, allocations: 52.81 kB / 1.524 GB, free: 4.855 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.6938, allocations: 0 / 1.524 GB, free: 4.855 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001635/0.6955, allocations: 1.519 MB / 1.525 GB, free: 3.199 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6955, allocations: 0 / 1.525 GB, free: 3.199 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006958/0.6962, allocations: 396 kB / 1.526 GB, free: 2.793 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001854/0.6964, allocations: 128.9 kB / 1.526 GB, free: 2.648 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.935e-05/0.6964, allocations: 11.92 kB / 1.526 GB, free: 2.637 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002812/0.6967, allocations: 12.06 kB / 1.526 GB, free: 2.625 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.6967, allocations: 11.98 kB / 1.526 GB, free: 2.613 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.6968, allocations: 8 kB / 1.526 GB, free: 2.605 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0003476/0.6971, allocations: 215.1 kB / 1.526 GB, free: 2.398 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/0.6971, allocations: 0 / 1.526 GB, free: 2.398 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0005316/0.6976, allocations: 103.8 kB / 1.526 GB, free: 2.297 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.001183/0.6988, allocations: 0.9449 MB / 1.527 GB, free: 1.324 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0003725/0.6992, allocations: 162.2 kB / 1.527 GB, free: 1.168 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.6992, allocations: 4 kB / 1.527 GB, free: 1.164 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0003957/0.6996, allocations: 194.6 kB / 1.527 GB, free: 0.9609 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.7007, allocations: 194.2 kB / 1.527 GB, free: 0.7734 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/0.7052, allocations: 2.92 MB / 1.53 GB, free: 13.74 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005157/0.7057, allocations: 0.8037 MB / 1.531 GB, free: 12.91 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.00032/0.706, allocations: 67.22 kB / 1.531 GB, free: 12.84 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002001/0.7062, allocations: 103.4 kB / 1.531 GB, free: 12.74 MB / 1.232 GB Notification: Performance of SimCode: time 1.022e-06/0.7062, allocations: 0 / 1.531 GB, free: 12.74 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04678/0.753, allocations: 9.043 MB / 1.54 GB, free: 3.895 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/12.27, allocations: 22.81 kB / 1.54 GB, free: 3.875 MB / 1.232 GB " [Timeout remaining time 288] (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.481362050166354]