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.0008396/0.0008396, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001267/0.001267, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8727/0.8727, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.764/1.764, allocations: 377.9 MB / 0.6221 GB, free: 8.672 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.9809 GB, free: 2.656 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011e-05/1.145e-05, allocations: 2.281 kB / 0.9809 GB, free: 2.652 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.SpaceCooling.System1): time 0.6047/0.6047, allocations: 143.1 MB / 1.121 GB, free: 16.39 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.00272/0.6074, allocations: 2.748 MB / 1.123 GB, free: 14.54 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002216/0.6076, allocations: 19.5 kB / 1.123 GB, free: 14.53 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000574/0.6082, allocations: 199.6 kB / 1.124 GB, free: 14.43 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.001267/0.6094, allocations: 0.8257 MB / 1.124 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004976/0.6099, allocations: 361.9 kB / 1.125 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0008662/0.6108, allocations: 0.9791 MB / 1.126 GB, free: 13.3 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002718/0.6111, allocations: 215.5 kB / 1.126 GB, free: 13.19 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005367/0.6116, allocations: 0.4918 MB / 1.126 GB, free: 12.96 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005912/0.6122, allocations: 259.7 kB / 1.127 GB, free: 12.89 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.199e-05/0.6123, allocations: 36.83 kB / 1.127 GB, free: 12.88 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006752/0.6129, allocations: 0.534 MB / 1.127 GB, free: 12.68 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.6131, allocations: 144.9 kB / 1.127 GB, free: 12.61 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001468/0.6132, allocations: 159.2 kB / 1.127 GB, free: 12.54 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0009127/0.6142, allocations: 0.7499 MB / 1.128 GB, free: 12.29 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.6142, allocations: 0.8906 kB / 1.128 GB, free: 12.29 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6142, allocations: 0 / 1.128 GB, free: 12.29 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.6142, allocations: 0 / 1.128 GB, free: 12.29 MB / 0.9948 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.0007282/0.6149, allocations: 0.6536 MB / 1.129 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.6149, allocations: 11.45 kB / 1.129 GB, free: 11.79 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.843e-05/0.615, allocations: 59.14 kB / 1.129 GB, free: 11.74 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005614/0.6155, allocations: 143 kB / 1.129 GB, free: 11.7 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004299/0.616, allocations: 352.6 kB / 1.129 GB, free: 11.46 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.616, allocations: 21.88 kB / 1.129 GB, free: 11.45 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.424e-05/0.616, allocations: 28.47 kB / 1.129 GB, free: 11.44 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.6164, allocations: 379.4 kB / 1.13 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.6164, allocations: 0 / 1.13 GB, free: 11.18 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.144e-05/0.6164, allocations: 11.58 kB / 1.13 GB, free: 11.17 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.6164, allocations: 13.94 kB / 1.13 GB, free: 11.17 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/0.6167, allocations: 192.3 kB / 1.13 GB, free: 11.11 MB / 0.9948 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.001007/0.6177, allocations: 0.8401 MB / 1.131 GB, free: 10.55 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002754/0.6179, allocations: 187.8 kB / 1.131 GB, free: 10.46 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.32e-05/0.618, allocations: 80.69 kB / 1.131 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.6181, allocations: 3.297 kB / 1.131 GB, free: 10.42 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.6181, allocations: 36.94 kB / 1.131 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=19): time 9.91e-07/0.6181, allocations: 4 kB / 1.131 GB, free: 10.38 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19): time 0.0005716/0.6186, allocations: 322.7 kB / 1.131 GB, free: 10.23 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.096e-05/0.6187, allocations: 54.41 kB / 1.131 GB, free: 10.17 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002228/0.6189, allocations: 299.3 kB / 1.132 GB, free: 10.01 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.612e-05/0.6189, allocations: 35.98 kB / 1.132 GB, free: 9.969 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.038e-05/0.619, allocations: 199.6 kB / 1.132 GB, free: 9.801 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.135e-05/0.619, allocations: 65.27 kB / 1.132 GB, free: 9.75 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.144e-05/0.6191, allocations: 48 kB / 1.132 GB, free: 9.715 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.873e-05/0.6191, allocations: 343.7 kB / 1.132 GB, free: 9.387 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.949e-05/0.6192, allocations: 62.45 kB / 1.132 GB, free: 9.363 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.421e-05/0.6193, allocations: 117.5 kB / 1.133 GB, free: 9.277 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001722/0.6195, allocations: 198.9 kB / 1.133 GB, free: 9.148 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.6195, allocations: 0 / 1.133 GB, free: 9.148 MB / 0.9948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002451/0.6197, allocations: 248.5 kB / 1.133 GB, free: 9.023 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.6197, allocations: 7.594 kB / 1.133 GB, free: 9.023 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.6197, allocations: 6.328 kB / 1.133 GB, free: 9.02 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.6198, allocations: 7.453 kB / 1.133 GB, free: 9.016 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.6199, allocations: 43.3 kB / 1.133 GB, free: 9.012 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.6199, allocations: 8.203 kB / 1.133 GB, free: 9.008 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.62, allocations: 24.8 kB / 1.133 GB, free: 8.992 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.62, allocations: 5.406 kB / 1.133 GB, free: 8.992 MB / 0.9948 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 9.123e-05/0.6201, allocations: 168.3 kB / 1.133 GB, free: 8.844 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.443e-05/0.6201, allocations: 30.22 kB / 1.133 GB, free: 8.828 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.559e-05/0.6202, allocations: 36.53 kB / 1.133 GB, free: 8.805 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.317e-06/0.6202, allocations: 7.5 kB / 1.133 GB, free: 8.801 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.6202, allocations: 0 / 1.133 GB, free: 8.801 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.6202, allocations: 1.125 kB / 1.133 GB, free: 8.801 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002892/0.6205, allocations: 324.9 kB / 1.134 GB, free: 8.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.6205, allocations: 1.375 kB / 1.134 GB, free: 8.57 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.136e-05/0.6206, allocations: 32.88 kB / 1.134 GB, free: 8.566 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001465/0.6207, allocations: 41.25 kB / 1.134 GB, free: 8.551 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.6207, allocations: 5.375 kB / 1.134 GB, free: 8.547 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000594/0.6213, allocations: 1.407 MB / 1.135 GB, free: 7.207 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.6213, allocations: 4.766 kB / 1.135 GB, free: 7.203 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.6217, allocations: 403.9 kB / 1.135 GB, free: 6.949 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.251e-05/0.6218, allocations: 49.2 kB / 1.136 GB, free: 6.922 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.067e-05/0.6218, allocations: 6.5 kB / 1.136 GB, free: 6.918 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.6219, allocations: 7.906 kB / 1.136 GB, free: 6.914 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.6219, allocations: 14.56 kB / 1.136 GB, free: 6.91 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.166e-05/0.6219, allocations: 5.609 kB / 1.136 GB, free: 6.91 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001577/0.6221, allocations: 217.1 kB / 1.136 GB, free: 6.789 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.6221, allocations: 0 / 1.136 GB, free: 6.789 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.000266/0.6224, allocations: 113.1 kB / 1.136 GB, free: 6.766 MB / 0.9948 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.0005557/0.6229, allocations: 0.9504 MB / 1.137 GB, free: 5.977 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.6231, allocations: 156.1 kB / 1.137 GB, free: 5.922 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6231, allocations: 0 / 1.137 GB, free: 5.922 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.6233, allocations: 194.1 kB / 1.137 GB, free: 5.781 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005948/0.6239, allocations: 204.1 kB / 1.137 GB, free: 5.73 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.6262, allocations: 2.861 MB / 1.14 GB, free: 3.781 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.6263, allocations: 191.9 kB / 1.14 GB, free: 3.688 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0001638/0.6265, allocations: 63.09 kB / 1.14 GB, free: 3.672 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.6266, allocations: 112 kB / 1.14 GB, free: 3.59 MB / 0.9948 GB Notification: Performance of SimCode: time 5.31e-07/0.6266, allocations: 0 / 1.14 GB, free: 3.59 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.6526, allocations: 10.37 MB / 1.151 GB, free: 1.91 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.118/7.77, allocations: 6.156 kB / 1.151 GB, free: 1.91 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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: 11.950263567268848]