Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009448/0.0009448, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.0009848/0.0009848, allocations: 173.3 kB / 23.03 MB, free: 1.547 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.8898/0.8898, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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 2.175/2.175, allocations: 429.5 MB / 0.6733 GB, free: 4.035 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: 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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.32e-05/2.543e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.301 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003328/0.003353, allocations: 2.515 MB / 0.8806 GB, free: 3.793 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001077/0.00443, allocations: 0.5397 MB / 0.8812 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001288/0.004559, allocations: 4.562 kB / 0.8812 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0004503/0.00501, allocations: 123.5 kB / 0.8813 GB, free: 3.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.005185, allocations: 104.4 kB / 0.8814 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001671/0.005352, allocations: 39.95 kB / 0.8814 GB, free: 3.004 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.005592, allocations: 258.5 kB / 0.8817 GB, free: 2.75 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.005793, allocations: 67.67 kB / 0.8817 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001925/0.005985, allocations: 139.7 kB / 0.8819 GB, free: 2.547 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.006135, allocations: 67.75 kB / 0.8819 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.691e-05/0.006182, allocations: 20 kB / 0.882 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.193e-05/0.006214, allocations: 16.81 kB / 0.882 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.455e-05/0.006308, allocations: 75.7 kB / 0.882 GB, free: 2.371 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.949e-05/0.006388, allocations: 88.3 kB / 0.8821 GB, free: 2.285 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005217/0.00691, allocations: 211 kB / 0.8823 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.006913, allocations: 1.25 kB / 0.8823 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.71e-07/0.006914, allocations: 0 / 0.8823 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.006921, allocations: 0 / 0.8823 GB, free: 2.078 MB / 0.8386 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.0007467/0.007667, allocations: 0.6792 MB / 0.883 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.039e-05/0.007718, allocations: 12.03 kB / 0.883 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.879e-05/0.007807, allocations: 60.66 kB / 0.8831 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002702/0.008077, allocations: 242.8 kB / 0.8833 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.064e-05/0.008107, allocations: 16.31 kB / 0.8833 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.006e-05/0.008147, allocations: 16.36 kB / 0.8833 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002319/0.008379, allocations: 124.2 kB / 0.8834 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.008394, allocations: 192 / 0.8834 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.008411, allocations: 8.375 kB / 0.8835 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.008421, allocations: 4.375 kB / 0.8835 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.008533, allocations: 55.59 kB / 0.8835 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007349/0.009268, allocations: 0.5615 MB / 0.8841 GB, free: 208 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.009448, allocations: 62.98 kB / 0.8841 GB, free: 132 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.468e-05/0.009502, allocations: 31.78 kB / 0.8842 GB, free: 96 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.068e-05/0.009513, allocations: 0 / 0.8842 GB, free: 96 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.00954, allocations: 37.39 kB / 0.8842 GB, free: 48 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.463e-06/0.009542, allocations: 0 / 0.8842 GB, free: 48 kB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.000256/0.009798, allocations: 109.6 kB / 0.8843 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.009839, allocations: 51.41 kB / 0.8843 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.01016, allocations: 450.7 kB / 0.8848 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.409e-05/0.01017, allocations: 25.7 kB / 0.8848 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.01033, allocations: 283 kB / 0.8851 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.274e-05/0.01035, allocations: 27.75 kB / 0.8851 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.374e-05/0.01039, allocations: 35.36 kB / 0.8851 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.01056, allocations: 0.5352 MB / 0.8856 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.643e-05/0.01059, allocations: 4 kB / 0.8857 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.058e-05/0.01064, allocations: 50.73 kB / 0.8857 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.961e-05/0.01072, allocations: 82.61 kB / 0.8858 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.01073, allocations: 3.75 kB / 0.8858 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001325/0.01086, allocations: 113.4 kB / 0.8859 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.01088, allocations: 4 kB / 0.8859 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.01088, allocations: 3.938 kB / 0.8859 GB, free: 14.19 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/0.0109, allocations: 4 kB / 0.8859 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.501e-05/0.01098, allocations: 27.92 kB / 0.8859 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.01099, allocations: 4 kB / 0.8859 GB, free: 14.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.966e-05/0.01103, allocations: 7.984 kB / 0.8859 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.347e-05/0.01104, allocations: 8 kB / 0.8859 GB, free: 14.14 MB / 0.8542 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 0.0001045/0.01114, allocations: 164.5 kB / 0.8861 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.0112, allocations: 43.7 kB / 0.8861 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.193e-05/0.01126, allocations: 39.27 kB / 0.8862 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01126, allocations: 0 / 0.8862 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/0.01127, allocations: 0 / 0.8862 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.01127, allocations: 0 / 0.8862 GB, free: 13.89 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.01159, allocations: 272.5 kB / 0.8864 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01159, allocations: 0 / 0.8864 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.582e-05/0.01167, allocations: 15.98 kB / 0.8865 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.01167, allocations: 4 kB / 0.8865 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.368e-05/0.01168, allocations: 4 kB / 0.8865 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.01169, allocations: 0 / 0.8865 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.01169, allocations: 0 / 0.8865 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002309/0.01192, allocations: 263.6 kB / 0.8867 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.01197, allocations: 39.75 kB / 0.8868 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.01199, allocations: 0 / 0.8868 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.524e-05/0.01204, allocations: 7.984 kB / 0.8868 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.01208, allocations: 4 kB / 0.8868 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.948e-06/0.01208, allocations: 0 / 0.8868 GB, free: 13.23 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001726/0.01226, allocations: 287.1 kB / 0.887 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.01226, allocations: 0 / 0.887 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001826/0.01244, allocations: 43.89 kB / 0.8871 GB, free: 12.91 MB / 0.8542 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 9.23e-05/0.01253, allocations: 95.25 kB / 0.8872 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001416/0.01267, allocations: 51.59 kB / 0.8872 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01268, allocations: 0 / 0.8872 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.372e-05/0.01271, allocations: 32 kB / 0.8873 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002575/0.01297, allocations: 42.36 kB / 0.8873 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009979/0.01397, allocations: 0.5862 MB / 0.8879 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.937e-05/0.01404, allocations: 103.3 kB / 0.888 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.539e-05/0.01409, allocations: 16.58 kB / 0.888 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.421e-05/0.01412, allocations: 16.5 kB / 0.888 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of SimCode: time 4.11e-07/0.01412, allocations: 0 / 0.888 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.004927/0.01905, allocations: 1.123 MB / 0.8891 GB, free: 10.81 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 5.920159524772316]