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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|eng.TRoo.T|eng.TWat.T|eng.QGen_flow|per.capEng|eng.TEng",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009822/0.0009823, allocations: 86.25 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.403/1.403, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.846/2.846, allocations: 462.6 MB / 0.736 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003918, allocations: 11.59 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3724/0.3728, allocations: 159.6 MB / 1.058 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003242/0.3761, allocations: 2.077 MB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008102/0.377, allocations: 0.4999 MB / 1.061 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.952e-05/0.3771, allocations: 4 kB / 1.061 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003488/0.3775, allocations: 115.3 kB / 1.061 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.3776, allocations: 75.41 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001113/0.3777, allocations: 31.97 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002591/0.378, allocations: 230.6 kB / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.3782, allocations: 77.34 kB / 1.061 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001229/0.3784, allocations: 79.64 kB / 1.061 GB, free: 2.148 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000145/0.3785, allocations: 87.58 kB / 1.061 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.3785, allocations: 8 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.07e-05/0.3786, allocations: 12 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.175e-05/0.3787, allocations: 63.77 kB / 1.061 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.014e-05/0.3788, allocations: 85.45 kB / 1.061 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000259/0.379, allocations: 255.6 kB / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.379, allocations: 0 / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.575e-06/0.379, allocations: 0 / 1.062 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.3791, allocations: 4 kB / 1.062 GB, free: 1.637 MB / 0.8106 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.0008824/0.38, allocations: 0.5989 MB / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/0.38, allocations: 8.031 kB / 1.062 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.3801, allocations: 43.52 kB / 1.062 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004073/0.3805, allocations: 281.2 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.528e-05/0.3805, allocations: 16 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.3806, allocations: 19.95 kB / 1.063 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.3809, allocations: 145.2 kB / 1.063 GB, free: 448 kB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.3809, allocations: 7.906 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.56e-05/0.381, allocations: 8 kB / 1.063 GB, free: 432 kB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.381, allocations: 4 kB / 1.063 GB, free: 428 kB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002278/0.3812, allocations: 91.89 kB / 1.063 GB, free: 336 kB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009239/0.3822, allocations: 0.5936 MB / 1.063 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00026/0.3824, allocations: 82.67 kB / 1.063 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001122/0.3826, allocations: 48.83 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.645e-05/0.3826, allocations: 4 kB / 1.064 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.3826, allocations: 34.56 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.783e-06/0.3826, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0003839/0.383, allocations: 141.2 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/0.3831, allocations: 55.34 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00044/0.3835, allocations: 386 kB / 1.064 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3836, allocations: 29.7 kB / 1.064 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.3838, allocations: 219.9 kB / 1.064 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.724e-05/0.3838, allocations: 31.55 kB / 1.064 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-06/0.3839, allocations: 4 kB / 1.064 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0002055/0.3841, allocations: 346.8 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.682e-05/0.3841, allocations: 27.98 kB / 1.065 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.531e-05/0.3843, allocations: 51.41 kB / 1.065 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.765e-05/0.3843, allocations: 40 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3844, allocations: 0 / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002552/0.3846, allocations: 145.5 kB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3846, allocations: 4 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.3847, allocations: 4 kB / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.3847, allocations: 0 / 1.065 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.3848, allocations: 32.02 kB / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.3848, allocations: 0 / 1.065 GB, free: 13.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.769e-05/0.3849, allocations: 15.91 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.3849, allocations: 4 kB / 1.065 GB, free: 13.93 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001881/0.3851, allocations: 169.7 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.118e-05/0.3852, allocations: 39.52 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.001e-05/0.3853, allocations: 39.22 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3853, allocations: 3.938 kB / 1.065 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3853, allocations: 4 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3853, allocations: 3.984 kB / 1.065 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.3856, allocations: 305.5 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.3856, allocations: 3.984 kB / 1.066 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.3858, allocations: 19.94 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3858, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.3858, allocations: 8 kB / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3858, allocations: 0 / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3858, allocations: 0 / 1.066 GB, free: 13.28 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003479/0.3862, allocations: 254.9 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.635e-05/0.3863, allocations: 112.8 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.884e-05/0.3863, allocations: 4 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.242e-05/0.3864, allocations: 4 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.839e-05/0.3865, allocations: 3.984 kB / 1.066 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.3865, allocations: 8 kB / 1.066 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002777/0.3868, allocations: 279.1 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3868, allocations: 4.062 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002733/0.387, allocations: 43.84 kB / 1.066 GB, free: 12.55 MB / 0.8262 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000149/0.3872, allocations: 99.25 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002151/0.3874, allocations: 79.97 kB / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.3874, allocations: 0 / 1.066 GB, free: 12.37 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.311e-05/0.3875, allocations: 31.98 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.3879, allocations: 29.7 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.3892, allocations: 0.8058 MB / 1.067 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000466/0.3897, allocations: 0.7983 MB / 1.068 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.503e-05/0.3897, allocations: 12.66 kB / 1.068 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.3898, allocations: 11.44 kB / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3898, allocations: 0 / 1.068 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of Templates: time 0.00464/0.3944, allocations: 1.164 MB / 1.069 GB, free: 9.473 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) 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) Reference file matches