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.001155/0.001155, allocations: 80.39 kB / 21.47 MB, free: 3.027 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.001519/0.001519, allocations: 172.5 kB / 24.87 MB, free: 8.695 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.9809/0.9809, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.826/1.826, allocations: 359 MB / 0.6063 GB, free: 10.86 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.443e-06/1.443e-06, allocations: 0 / 0.7883 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.157e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.00295/0.002972, allocations: 2.494 MB / 0.7908 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008071/0.003779, allocations: 0.5341 MB / 0.7913 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.575e-05/0.003874, allocations: 4 kB / 0.7913 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0003513/0.004226, allocations: 116.1 kB / 0.7914 GB, free: 9.031 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.00436, allocations: 103.7 kB / 0.7915 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001174/0.004478, allocations: 43.95 kB / 0.7915 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002046/0.004682, allocations: 254.5 kB / 0.7918 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001581/0.004841, allocations: 76.98 kB / 0.7919 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001649/0.005006, allocations: 135.7 kB / 0.792 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001144/0.00512, allocations: 67.75 kB / 0.792 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.005147, allocations: 17.75 kB / 0.7921 GB, free: 8.352 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.536e-05/0.005172, allocations: 16 kB / 0.7921 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.332e-05/0.005245, allocations: 83.7 kB / 0.7922 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.499e-05/0.00531, allocations: 87.7 kB / 0.7922 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002058/0.005516, allocations: 199.9 kB / 0.7924 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.304e-06/0.005518, allocations: 0 / 0.7924 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.71e-07/0.005519, allocations: 0.7188 kB / 0.7924 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.005524, allocations: 0 / 0.7924 GB, free: 7.973 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.0005631/0.006087, allocations: 0.6836 MB / 0.7931 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.006121, allocations: 8.031 kB / 0.7931 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.241e-05/0.006183, allocations: 60.66 kB / 0.7932 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001981/0.006381, allocations: 250.7 kB / 0.7934 GB, free: 6.914 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.779e-05/0.006399, allocations: 10.72 kB / 0.7934 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.567e-05/0.006425, allocations: 20.31 kB / 0.7934 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001578/0.006582, allocations: 106.9 kB / 0.7935 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.006592, allocations: 4.188 kB / 0.7935 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.006603, allocations: 4.375 kB / 0.7935 GB, free: 6.766 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.006609, allocations: 4.375 kB / 0.7935 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.709e-05/0.006676, allocations: 45.88 kB / 0.7936 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000507/0.007183, allocations: 497.8 kB / 0.7941 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001213/0.007305, allocations: 63.06 kB / 0.7941 GB, free: 6.133 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.403e-05/0.007339, allocations: 27.62 kB / 0.7942 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.007346, allocations: 0.6562 kB / 0.7942 GB, free: 6.102 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/0.007366, allocations: 38.69 kB / 0.7942 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.007368, allocations: 0 / 0.7942 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001573/0.007525, allocations: 105.4 kB / 0.7943 GB, free: 5.945 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/0.007554, allocations: 56.5 kB / 0.7943 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003895/0.007944, allocations: 442.5 kB / 0.7948 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.007956, allocations: 29.7 kB / 0.7948 GB, free: 5.391 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.008084, allocations: 279.8 kB / 0.7951 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.703e-05/0.008101, allocations: 23.75 kB / 0.7951 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.008137, allocations: 39.3 kB / 0.7951 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.008273, allocations: 0.536 MB / 0.7956 GB, free: 4.496 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.004e-05/0.008293, allocations: 7.984 kB / 0.7957 GB, free: 4.488 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.606e-05/0.008329, allocations: 52 kB / 0.7957 GB, free: 4.422 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.926e-05/0.008388, allocations: 63.39 kB / 0.7958 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.00839, allocations: 0.875 kB / 0.7958 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001167/0.008507, allocations: 122.8 kB / 0.7959 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.008518, allocations: 4 kB / 0.7959 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.008523, allocations: 0 / 0.7959 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.594e-06/0.00853, allocations: 4 kB / 0.7959 GB, free: 4.211 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.917e-05/0.008599, allocations: 21.02 kB / 0.7959 GB, free: 4.191 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.805e-06/0.008602, allocations: 4 kB / 0.7959 GB, free: 4.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.032e-05/0.008642, allocations: 19.88 kB / 0.7959 GB, free: 4.168 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.008647, allocations: 3.312 kB / 0.7959 GB, free: 4.168 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.964e-05/0.008727, allocations: 164.5 kB / 0.7961 GB, free: 3.996 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/0.008762, allocations: 43.69 kB / 0.7961 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.646e-05/0.008808, allocations: 35.28 kB / 0.7962 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.00881, allocations: 0 / 0.7962 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-06/0.008812, allocations: 0 / 0.7962 GB, free: 3.918 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.008816, allocations: 3.984 kB / 0.7962 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001727/0.008989, allocations: 201.1 kB / 0.7964 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.00899, allocations: 0.5 kB / 0.7964 GB, free: 3.691 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.272e-05/0.009053, allocations: 17.34 kB / 0.7964 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.009055, allocations: 0 / 0.7964 GB, free: 3.676 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.009062, allocations: 3.938 kB / 0.7964 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.009063, allocations: 0 / 0.7964 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.009065, allocations: 4.75 kB / 0.7964 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.009237, allocations: 256.6 kB / 0.7966 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.105e-05/0.009278, allocations: 39.73 kB / 0.7967 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.009296, allocations: 10.75 kB / 0.7967 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.406e-05/0.00934, allocations: 0 / 0.7967 GB, free: 3.352 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.72e-05/0.009367, allocations: 7.984 kB / 0.7967 GB, free: 3.344 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.009371, allocations: 4 kB / 0.7967 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001286/0.009499, allocations: 271 kB / 0.7969 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9e-08/0.009499, allocations: 0 / 0.7969 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000179/0.009678, allocations: 43.89 kB / 0.797 GB, free: 3.039 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 9.342e-05/0.009772, allocations: 101.6 kB / 0.7971 GB, free: 2.934 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.454e-05/0.009856, allocations: 39.61 kB / 0.7971 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.009857, allocations: 0 / 0.7971 GB, free: 2.891 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.212e-05/0.00989, allocations: 27.67 kB / 0.7972 GB, free: 2.859 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.01012, allocations: 31.92 kB / 0.7972 GB, free: 2.828 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008025/0.01092, allocations: 0.5912 MB / 0.7978 GB, free: 2.211 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.181e-05/0.01098, allocations: 103.3 kB / 0.7979 GB, free: 2.09 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.26e-05/0.01103, allocations: 8.641 kB / 0.7979 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.671e-05/0.01109, allocations: 94.19 kB / 0.798 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.01109, allocations: 0 / 0.798 GB, free: 1.984 MB / 0.7448 GB Notification: Performance of Templates: time 0.003955/0.01505, allocations: 1.189 MB / 0.7991 GB, free: 0.8242 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.996787689160556]