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.0008412/0.0008412, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.00159/0.00159, allocations: 177.9 kB / 23.21 MB, free: 1.344 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.9693/0.9693, allocations: 177.1 MB / 203.5 MB, free: 5.742 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 1.826/1.826, allocations: 389 MB / 0.6338 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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 1.874e-06/1.874e-06, allocations: 0 / 1.001 GB, free: 13 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.45e-05/3.637e-05, allocations: 6.219 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.004267/0.004303, allocations: 2.346 MB / 1.003 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.005615, allocations: 0.5236 MB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000235/0.00585, allocations: 4 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005822/0.006433, allocations: 112.5 kB / 1.004 GB, free: 9.996 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.000289/0.006722, allocations: 95.16 kB / 1.004 GB, free: 9.902 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.006944, allocations: 47.94 kB / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004066/0.007351, allocations: 246.6 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002448/0.007595, allocations: 87.56 kB / 1.004 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002673/0.007863, allocations: 131.7 kB / 1.004 GB, free: 9.398 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.008033, allocations: 67.73 kB / 1.004 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 6.855e-05/0.008101, allocations: 23.94 kB / 1.005 GB, free: 9.309 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 4.59e-05/0.008147, allocations: 20 kB / 1.005 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.008262, allocations: 83.69 kB / 1.005 GB, free: 9.207 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001073/0.008369, allocations: 87.7 kB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004325/0.008802, allocations: 326.9 kB / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.008808, allocations: 0 / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.685e-06/0.008811, allocations: 0 / 1.005 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.008822, allocations: 0 / 1.005 GB, free: 8.801 MB / 0.9636 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.0009553/0.009778, allocations: 0.5779 MB / 1.006 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.00983, allocations: 8.75 kB / 1.006 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.063e-05/0.009921, allocations: 52.61 kB / 1.006 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.01034, allocations: 251.9 kB / 1.006 GB, free: 7.855 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.01037, allocations: 12.38 kB / 1.006 GB, free: 7.844 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.985e-05/0.01041, allocations: 16.38 kB / 1.006 GB, free: 7.828 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003117/0.01072, allocations: 138 kB / 1.006 GB, free: 7.688 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.01073, allocations: 4.188 kB / 1.006 GB, free: 7.684 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.928e-05/0.01075, allocations: 4.375 kB / 1.006 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.01076, allocations: 8.312 kB / 1.006 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.01099, allocations: 99.83 kB / 1.006 GB, free: 7.574 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007951/0.01179, allocations: 479.9 kB / 1.007 GB, free: 7.074 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002729/0.01206, allocations: 90.55 kB / 1.007 GB, free: 6.977 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.899e-05/0.01216, allocations: 44.89 kB / 1.007 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.01217, allocations: 0 / 1.007 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.0122, allocations: 42.55 kB / 1.007 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.0122, allocations: 0 / 1.007 GB, free: 6.879 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0003731/0.01258, allocations: 145.6 kB / 1.007 GB, free: 6.73 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.01262, allocations: 55.34 kB / 1.007 GB, free: 6.664 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004555/0.01308, allocations: 393.9 kB / 1.007 GB, free: 6.266 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.037e-05/0.0131, allocations: 33.7 kB / 1.007 GB, free: 6.227 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.01328, allocations: 212.3 kB / 1.008 GB, free: 6.012 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.45e-05/0.01331, allocations: 31.7 kB / 1.008 GB, free: 5.98 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-05/0.01338, allocations: 33.7 kB / 1.008 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.01352, allocations: 346.8 kB / 1.008 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.63e-05/0.0136, allocations: 23.98 kB / 1.008 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.905e-05/0.0137, allocations: 59.41 kB / 1.008 GB, free: 5.5 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.01388, allocations: 87.36 kB / 1.008 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01388, allocations: 4 kB / 1.008 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002711/0.01415, allocations: 153.2 kB / 1.008 GB, free: 5.242 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.01417, allocations: 4 kB / 1.008 GB, free: 5.238 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.01418, allocations: 4 kB / 1.008 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.0142, allocations: 0 / 1.008 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001193/0.01432, allocations: 23.98 kB / 1.008 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.01433, allocations: 3.938 kB / 1.008 GB, free: 5.207 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.183e-05/0.01441, allocations: 15.89 kB / 1.008 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.077e-05/0.01442, allocations: 4 kB / 1.008 GB, free: 5.188 MB / 0.9636 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 (13): * Single equations (assignments): 13 * 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.0001621/0.01458, allocations: 165.9 kB / 1.008 GB, free: 5.016 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.01464, allocations: 39.7 kB / 1.009 GB, free: 4.977 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.374e-05/0.0147, allocations: 39.27 kB / 1.009 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.0147, allocations: 4 kB / 1.009 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.01471, allocations: 0 / 1.009 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/0.01472, allocations: 0 / 1.009 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002868/0.01501, allocations: 237.3 kB / 1.009 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.01501, allocations: 0 / 1.009 GB, free: 4.676 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001217/0.01513, allocations: 27.86 kB / 1.009 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.065e-06/0.01513, allocations: 0 / 1.009 GB, free: 4.648 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.01515, allocations: 7.938 kB / 1.009 GB, free: 4.641 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.01515, allocations: 8 kB / 1.009 GB, free: 4.633 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.01515, allocations: 4 kB / 1.009 GB, free: 4.629 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003862/0.01554, allocations: 251.2 kB / 1.009 GB, free: 4.367 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 7.899e-05/0.01562, allocations: 43.66 kB / 1.009 GB, free: 4.324 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/0.01565, allocations: 4 kB / 1.009 GB, free: 4.32 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.01575, allocations: 4 kB / 1.009 GB, free: 4.316 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.29e-05/0.01579, allocations: 3.984 kB / 1.009 GB, free: 4.312 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.702e-06/0.0158, allocations: 4 kB / 1.009 GB, free: 4.309 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0003041/0.01611, allocations: 283.1 kB / 1.009 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of sort global known variables: time 1e-07/0.01611, allocations: 4.062 kB / 1.009 GB, free: 4.031 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0003324/0.01644, allocations: 43.89 kB / 1.009 GB, free: 3.988 MB / 0.9636 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 (9): * Single equations (assignments): 9 * 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 0.0001364/0.01657, allocations: 95.25 kB / 1.01 GB, free: 3.887 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002426/0.01682, allocations: 71.84 kB / 1.01 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.01682, allocations: 0 / 1.01 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.376e-05/0.01689, allocations: 31.98 kB / 1.01 GB, free: 3.785 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004461/0.01734, allocations: 28.72 kB / 1.01 GB, free: 3.762 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.01859, allocations: 0.6588 MB / 1.01 GB, free: 3.066 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.01879, allocations: 195 kB / 1.01 GB, free: 2.859 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.838e-05/0.01884, allocations: 16.5 kB / 1.011 GB, free: 2.844 MB / 0.9636 GB Notification: Performance of SimCode: time 6.11e-07/0.01884, allocations: 0 / 1.011 GB, free: 2.844 MB / 0.9636 GB Notification: Performance of Templates: time 0.005651/0.02449, allocations: 3.167 MB / 1.014 GB, free: 15.68 MB / 0.9792 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.272020850330591]