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.0009559/0.0009559, allocations: 87.58 kB / 20.45 MB, free: 4.117 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.001067/0.001067, allocations: 161 kB / 23.82 MB, free: 0.75 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.9262/0.9262, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.694/1.694, allocations: 359 MB / 0.6052 GB, free: 11.02 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.563e-06/1.563e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.44e-05/2.596e-05, allocations: 5.125 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003632/0.003658, allocations: 2.512 MB / 0.7896 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000967/0.004625, allocations: 0.5326 MB / 0.7901 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.004735, allocations: 4 kB / 0.7901 GB, free: 9.426 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004002/0.005135, allocations: 112.1 kB / 0.7902 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.005323, allocations: 108.8 kB / 0.7903 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.005457, allocations: 43.95 kB / 0.7903 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002717/0.005729, allocations: 255.1 kB / 0.7906 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001794/0.005908, allocations: 71.67 kB / 0.7906 GB, free: 8.855 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.006113, allocations: 132.4 kB / 0.7908 GB, free: 8.727 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.006256, allocations: 73.09 kB / 0.7908 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.006297, allocations: 16 kB / 0.7909 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.759e-05/0.006334, allocations: 16 kB / 0.7909 GB, free: 8.625 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.638e-05/0.006421, allocations: 84.33 kB / 0.791 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.39e-05/0.006514, allocations: 87.7 kB / 0.791 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002723/0.006787, allocations: 208.1 kB / 0.7912 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.00679, allocations: 0 / 0.7912 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.302e-06/0.006792, allocations: 0 / 0.7912 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.092e-06/0.006798, allocations: 0.75 kB / 0.7912 GB, free: 8.254 MB / 0.7448 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.0007468/0.007545, allocations: 0.6825 MB / 0.7919 GB, free: 7.531 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.007583, allocations: 9.312 kB / 0.7919 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.018e-05/0.007673, allocations: 60.66 kB / 0.792 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.007948, allocations: 250.7 kB / 0.7922 GB, free: 7.195 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.007974, allocations: 12.36 kB / 0.7922 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.249e-05/0.008006, allocations: 16.88 kB / 0.7922 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.008251, allocations: 119.9 kB / 0.7924 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.008264, allocations: 192 / 0.7924 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.864e-05/0.008282, allocations: 5.281 kB / 0.7924 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.022e-05/0.008292, allocations: 4.375 kB / 0.7924 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.008422, allocations: 51.66 kB / 0.7924 GB, free: 6.984 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007771/0.009199, allocations: 0.5684 MB / 0.793 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.009376, allocations: 58.98 kB / 0.793 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.781e-05/0.009434, allocations: 27.78 kB / 0.793 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.033e-05/0.009445, allocations: 4 kB / 0.7931 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.458e-05/0.009469, allocations: 40.08 kB / 0.7931 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.943e-06/0.009471, allocations: 0 / 0.7931 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002408/0.009712, allocations: 117.4 kB / 0.7932 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.009747, allocations: 51.41 kB / 0.7933 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005112/0.01026, allocations: 446.7 kB / 0.7937 GB, free: 5.59 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.01028, allocations: 25.7 kB / 0.7937 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.01042, allocations: 283 kB / 0.794 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.937e-05/0.01044, allocations: 29.31 kB / 0.794 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.01047, allocations: 35.31 kB / 0.794 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.01061, allocations: 0.5313 MB / 0.7946 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.845e-05/0.01064, allocations: 12 kB / 0.7946 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.202e-05/0.01068, allocations: 55.17 kB / 0.7946 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.835e-05/0.01075, allocations: 68.61 kB / 0.7947 GB, free: 4.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.01075, allocations: 3.938 kB / 0.7947 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001286/0.01088, allocations: 122.4 kB / 0.7948 GB, free: 4.371 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/0.01089, allocations: 6.531 kB / 0.7948 GB, free: 4.367 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.0109, allocations: 4 kB / 0.7948 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.01091, allocations: 0.9062 kB / 0.7948 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.007e-05/0.01099, allocations: 27.92 kB / 0.7948 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.011, allocations: 3.969 kB / 0.7948 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.01104, allocations: 11.94 kB / 0.7949 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.01104, allocations: 4 kB / 0.7949 GB, free: 4.32 MB / 0.7448 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 7.723e-05/0.01112, allocations: 160.5 kB / 0.795 GB, free: 4.152 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.01115, allocations: 39.77 kB / 0.7951 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.104e-05/0.01119, allocations: 35.27 kB / 0.7951 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-06/0.01119, allocations: 0 / 0.7951 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.01119, allocations: 4 kB / 0.7951 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.0112, allocations: 0 / 0.7951 GB, free: 4.074 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002005/0.0114, allocations: 260.5 kB / 0.7953 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.0114, allocations: 4.969 kB / 0.7953 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.178e-05/0.01147, allocations: 27.92 kB / 0.7954 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.01147, allocations: 0 / 0.7954 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.01148, allocations: 1.031 kB / 0.7954 GB, free: 3.754 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.01149, allocations: 4 kB / 0.7954 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.01149, allocations: 0 / 0.7954 GB, free: 3.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001846/0.01167, allocations: 268.8 kB / 0.7956 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.925e-05/0.01171, allocations: 35.7 kB / 0.7957 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.01173, allocations: 5.031 kB / 0.7957 GB, free: 3.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.088e-05/0.01178, allocations: 3.984 kB / 0.7957 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.16e-05/0.01181, allocations: 0 / 0.7957 GB, free: 3.426 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.01182, allocations: 9.156 kB / 0.7957 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001472/0.01196, allocations: 283 kB / 0.796 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01197, allocations: 0 / 0.796 GB, free: 3.148 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001656/0.01213, allocations: 49.45 kB / 0.796 GB, free: 3.102 MB / 0.7448 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 8.207e-05/0.01221, allocations: 99.25 kB / 0.7961 GB, free: 2.996 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001077/0.01232, allocations: 56.41 kB / 0.7961 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.01232, allocations: 0 / 0.7961 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.73e-05/0.01235, allocations: 24.23 kB / 0.7962 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/0.01257, allocations: 29.91 kB / 0.7962 GB, free: 2.879 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007994/0.01337, allocations: 0.5861 MB / 0.7968 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.769e-05/0.01343, allocations: 103.3 kB / 0.7969 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.654e-05/0.01347, allocations: 12.64 kB / 0.7969 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.046e-05/0.0135, allocations: 16.5 kB / 0.7969 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of SimCode: time 6.02e-07/0.0135, allocations: 0 / 0.7969 GB, free: 2.109 MB / 0.7448 GB Notification: Performance of Templates: time 0.003828/0.01732, allocations: 1.129 MB / 0.798 GB, free: 1.004 MB / 0.7448 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.750583630986512]