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.001139/0.001139, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009855/0.009855, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.566/1.566, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.841/2.841, allocations: 462.6 MB / 0.7363 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003493, allocations: 13.19 kB / 0.9027 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3161, allocations: 159.6 MB / 1.059 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002903/0.319, allocations: 2.139 MB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009462/0.32, allocations: 0.52 MB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.3202, allocations: 4 kB / 1.061 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0004302/0.3206, allocations: 123.8 kB / 1.061 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.3209, allocations: 79.45 kB / 1.061 GB, free: 2.164 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001446/0.321, allocations: 39.92 kB / 1.061 GB, free: 2.125 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.3213, allocations: 238.6 kB / 1.062 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002193/0.3216, allocations: 99.23 kB / 1.062 GB, free: 1.793 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001335/0.3217, allocations: 71.67 kB / 1.062 GB, free: 1.723 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.3219, allocations: 91.5 kB / 1.062 GB, free: 1.633 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.989e-05/0.3219, allocations: 11.98 kB / 1.062 GB, free: 1.621 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 3.918e-05/0.322, allocations: 8 kB / 1.062 GB, free: 1.613 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.3221, allocations: 67.64 kB / 1.062 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001656/0.3223, allocations: 176.6 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002969/0.3226, allocations: 310.6 kB / 1.062 GB, free: 1.062 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3226, allocations: 4 kB / 1.062 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3226, allocations: 0 / 1.062 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.085e-05/0.3226, allocations: 0 / 1.062 GB, free: 1.059 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.0008352/0.3234, allocations: 0.5952 MB / 1.063 GB, free: 420 kB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.3235, allocations: 11.97 kB / 1.063 GB, free: 408 kB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.542e-05/0.3236, allocations: 40.47 kB / 1.063 GB, free: 368 kB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003904/0.324, allocations: 306.1 kB / 1.063 GB, free: 20 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.324, allocations: 12.38 kB / 1.063 GB, free: 8 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.578e-05/0.3241, allocations: 16.45 kB / 1.063 GB, free: 15.99 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.3244, allocations: 141.9 kB / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.3244, allocations: 192 / 1.064 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.3245, allocations: 11.94 kB / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.3245, allocations: 0 / 1.064 GB, free: 15.83 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002399/0.3247, allocations: 99.89 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008803/0.3256, allocations: 0.5855 MB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.3259, allocations: 86.56 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001032/0.326, allocations: 52.95 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.326, allocations: 3.984 kB / 1.064 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/0.3261, allocations: 34.56 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.3261, allocations: 0 / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0003831/0.3265, allocations: 141.2 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.3265, allocations: 51.41 kB / 1.065 GB, free: 14.7 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003956/0.3269, allocations: 397.9 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.3269, allocations: 29.64 kB / 1.065 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.3271, allocations: 220 kB / 1.065 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.3271, allocations: 27.56 kB / 1.065 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.197e-05/0.3272, allocations: 21.7 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.3273, allocations: 346.7 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.84e-05/0.3274, allocations: 28.38 kB / 1.066 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.411e-05/0.3275, allocations: 58.28 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.3277, allocations: 99.23 kB / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3277, allocations: 0 / 1.066 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002578/0.3279, allocations: 149.1 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.328, allocations: 8 kB / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.328, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.328, allocations: 0 / 1.066 GB, free: 13.29 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.3281, allocations: 27.97 kB / 1.066 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.3281, allocations: 4 kB / 1.066 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.749e-05/0.3282, allocations: 11.94 kB / 1.066 GB, free: 13.24 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.3283, allocations: 4 kB / 1.066 GB, free: 13.24 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001494/0.3284, allocations: 173.8 kB / 1.066 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.28e-05/0.3285, allocations: 35.53 kB / 1.066 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.726e-05/0.3285, allocations: 39.22 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.3285, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.3286, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.3286, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003171/0.3289, allocations: 309.5 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3289, allocations: 0 / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.329, allocations: 19.98 kB / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.329, allocations: 0 / 1.067 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.3291, allocations: 12 kB / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.3291, allocations: 0 / 1.067 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3291, allocations: 3.938 kB / 1.067 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.3294, allocations: 259 kB / 1.067 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.272e-05/0.3295, allocations: 112.7 kB / 1.067 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.3295, allocations: 4 kB / 1.067 GB, free: 12.19 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.3297, allocations: 8.062 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.725e-05/0.3297, allocations: 7.984 kB / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.969e-06/0.3297, allocations: 0 / 1.067 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002557/0.33, allocations: 283.1 kB / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.33, allocations: 0 / 1.067 GB, free: 11.9 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002906/0.3303, allocations: 47.78 kB / 1.067 GB, free: 11.86 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 (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.0001241/0.3304, allocations: 103.2 kB / 1.067 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00022/0.3306, allocations: 76.03 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3306, allocations: 0 / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.452e-05/0.3307, allocations: 35.92 kB / 1.067 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.3311, allocations: 28.31 kB / 1.067 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.3323, allocations: 0.8059 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.3326, allocations: 0.7984 MB / 1.069 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.327e-05/0.3327, allocations: 8.641 kB / 1.069 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.261e-05/0.3327, allocations: 19.44 kB / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3327, allocations: 0 / 1.069 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of Templates: time 0.004331/0.3371, allocations: 1.179 MB / 1.07 GB, free: 8.75 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