Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.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.0009382/0.0009382, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 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.001298/0.001298, allocations: 185 kB / 24.09 MB, free: 416 kB / 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.9528/0.9528, allocations: 177.1 MB / 204.5 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.835/1.835, allocations: 359 MB / 0.6055 GB, free: 10.87 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.7876 GB, free: 11.07 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.446e-05/1.603e-05, allocations: 3.375 kB / 0.7876 GB, free: 11.07 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003014/0.00303, allocations: 2.491 MB / 0.79 GB, free: 8.582 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008668/0.003897, allocations: 0.5263 MB / 0.7905 GB, free: 8.062 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.003999, allocations: 4 kB / 0.7905 GB, free: 8.059 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0003515/0.00435, allocations: 123.1 kB / 0.7906 GB, free: 7.941 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001718/0.004522, allocations: 92.81 kB / 0.7907 GB, free: 7.855 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001514/0.004674, allocations: 47.89 kB / 0.7908 GB, free: 7.809 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002293/0.004903, allocations: 258.5 kB / 0.791 GB, free: 7.555 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.005054, allocations: 76.75 kB / 0.7911 GB, free: 7.48 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001718/0.005226, allocations: 135.7 kB / 0.7912 GB, free: 7.348 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.005334, allocations: 73.67 kB / 0.7913 GB, free: 7.277 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.768e-05/0.005362, allocations: 16 kB / 0.7913 GB, free: 7.262 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 2.661e-05/0.005389, allocations: 16 kB / 0.7913 GB, free: 7.246 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 7.501e-05/0.005464, allocations: 79.7 kB / 0.7914 GB, free: 7.168 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001113/0.005575, allocations: 87.72 kB / 0.7915 GB, free: 7.082 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002086/0.005784, allocations: 201.7 kB / 0.7917 GB, free: 6.887 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.005785, allocations: 0 / 0.7917 GB, free: 6.887 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.81e-07/0.005785, allocations: 4 kB / 0.7917 GB, free: 6.883 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.00579, allocations: 0 / 0.7917 GB, free: 6.883 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0005945/0.006384, allocations: 0.6813 MB / 0.7923 GB, free: 6.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.006425, allocations: 8.75 kB / 0.7924 GB, free: 6.152 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.601e-05/0.006481, allocations: 60.59 kB / 0.7924 GB, free: 6.094 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.006669, allocations: 247.3 kB / 0.7926 GB, free: 5.828 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.006687, allocations: 16.31 kB / 0.7927 GB, free: 5.812 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.354e-05/0.006711, allocations: 14.03 kB / 0.7927 GB, free: 5.801 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.00687, allocations: 110.7 kB / 0.7928 GB, free: 5.684 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.00688, allocations: 192 / 0.7928 GB, free: 5.684 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.00689, allocations: 8.312 kB / 0.7928 GB, free: 5.676 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.006896, allocations: 4.969 kB / 0.7928 GB, free: 5.672 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.048e-05/0.006957, allocations: 46.3 kB / 0.7928 GB, free: 5.629 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004972/0.007454, allocations: 496.2 kB / 0.7933 GB, free: 5.117 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001152/0.007569, allocations: 68.22 kB / 0.7934 GB, free: 5.039 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002332/0.007802, allocations: 31.72 kB / 0.7934 GB, free: 5.004 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.007811, allocations: 0 / 0.7934 GB, free: 5.004 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.24e-05/0.007834, allocations: 38.23 kB / 0.7934 GB, free: 4.957 MB / 0.698 GB Notification: Performance of pre-optimization done (n=8): time 1.613e-06/0.007835, allocations: 0 / 0.7934 GB, free: 4.957 MB / 0.698 GB Notification: Performance of matching and sorting (n=8): time 0.0001621/0.007997, allocations: 102.5 kB / 0.7935 GB, free: 4.852 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.09e-05/0.008028, allocations: 55.41 kB / 0.7936 GB, free: 4.785 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002503/0.008279, allocations: 439.9 kB / 0.794 GB, free: 4.34 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.421e-05/0.008293, allocations: 25.7 kB / 0.794 GB, free: 4.309 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.008437, allocations: 286.9 kB / 0.7943 GB, free: 4.023 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.967e-05/0.008457, allocations: 31.73 kB / 0.7943 GB, free: 3.992 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.663e-05/0.008493, allocations: 32.83 kB / 0.7944 GB, free: 3.953 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.008643, allocations: 0.5352 MB / 0.7949 GB, free: 3.406 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.799e-05/0.008661, allocations: 8 kB / 0.7949 GB, free: 3.398 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.059e-05/0.008712, allocations: 50.67 kB / 0.795 GB, free: 3.332 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.496e-05/0.008777, allocations: 69.53 kB / 0.795 GB, free: 3.25 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.008779, allocations: 0 / 0.795 GB, free: 3.25 MB / 0.698 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001264/0.008906, allocations: 117.3 kB / 0.7951 GB, free: 3.129 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.008917, allocations: 4.5 kB / 0.7951 GB, free: 3.125 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.008925, allocations: 5.75 kB / 0.7951 GB, free: 3.121 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.008938, allocations: 0 / 0.7951 GB, free: 3.121 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.974e-05/0.009008, allocations: 27.98 kB / 0.7952 GB, free: 3.094 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.009013, allocations: 3.938 kB / 0.7952 GB, free: 3.09 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.954e-05/0.009053, allocations: 19.83 kB / 0.7952 GB, free: 3.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.989e-06/0.009058, allocations: 5.344 kB / 0.7952 GB, free: 3.066 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (12): * Single equations (assignments): 12 * 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 8.537e-05/0.009143, allocations: 156.6 kB / 0.7953 GB, free: 2.902 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.009174, allocations: 40.8 kB / 0.7954 GB, free: 2.863 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.325e-05/0.009217, allocations: 39.27 kB / 0.7954 GB, free: 2.824 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.009219, allocations: 0 / 0.7954 GB, free: 2.824 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.009221, allocations: 0.6562 kB / 0.7954 GB, free: 2.824 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.009224, allocations: 4 kB / 0.7954 GB, free: 2.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001843/0.009408, allocations: 193.8 kB / 0.7956 GB, free: 2.605 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.009409, allocations: 0 / 0.7956 GB, free: 2.605 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.743e-05/0.009467, allocations: 22.83 kB / 0.7956 GB, free: 2.586 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.009469, allocations: 0 / 0.7956 GB, free: 2.586 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/0.009478, allocations: 7.875 kB / 0.7956 GB, free: 2.578 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.009479, allocations: 0 / 0.7956 GB, free: 2.578 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.00948, allocations: 4 kB / 0.7956 GB, free: 2.574 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.009661, allocations: 251.6 kB / 0.7959 GB, free: 2.309 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.75e-05/0.009698, allocations: 39.75 kB / 0.7959 GB, free: 2.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/0.009713, allocations: 6.031 kB / 0.7959 GB, free: 2.266 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.193e-05/0.009755, allocations: 0 / 0.7959 GB, free: 2.266 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/0.009782, allocations: 11.98 kB / 0.7959 GB, free: 2.254 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.009785, allocations: 0 / 0.7959 GB, free: 2.254 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001376/0.009922, allocations: 271 kB / 0.7962 GB, free: 1.992 MB / 0.698 GB Notification: Performance of sort global known variables: time 8e-08/0.009922, allocations: 0 / 0.7962 GB, free: 1.992 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001792/0.0101, allocations: 40.86 kB / 0.7962 GB, free: 1.953 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (eng.capTheEng.T) * 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 (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 7.764e-05/0.01018, allocations: 104.3 kB / 0.7963 GB, free: 1.844 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.951e-05/0.01027, allocations: 48.62 kB / 0.7964 GB, free: 1.793 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.01027, allocations: 0 / 0.7964 GB, free: 1.793 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.403e-05/0.01029, allocations: 23.67 kB / 0.7964 GB, free: 1.766 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002115/0.01051, allocations: 31.08 kB / 0.7964 GB, free: 1.734 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008731/0.01138, allocations: 0.5865 MB / 0.797 GB, free: 1.113 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.681e-05/0.01146, allocations: 107.3 kB / 0.7971 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.608e-05/0.0115, allocations: 12.66 kB / 0.7971 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.41e-05/0.01158, allocations: 86.19 kB / 0.7972 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of SimCode: time 1.062e-06/0.01158, allocations: 0 / 0.7972 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of Templates: time 0.003937/0.01551, allocations: 1.173 MB / 0.7983 GB, free: 15.74 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.990978607907891]