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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001102/0.001102, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.988/2.988, allocations: 472.7 MB / 0.7452 GB, free: 4.594 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 63.39 kB / 0.9121 GB, free: 33.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3183/0.3196, allocations: 159.9 MB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003469/0.3231, allocations: 2.452 MB / 1.071 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000799/0.3239, allocations: 0.5314 MB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.287e-05/0.324, allocations: 4 kB / 1.071 GB, free: 7.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003678/0.3244, allocations: 131.7 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001457/0.3245, allocations: 91.27 kB / 1.071 GB, free: 7.129 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00011/0.3247, allocations: 43.95 kB / 1.071 GB, free: 7.086 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.3249, allocations: 242.7 kB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002036/0.3251, allocations: 115.3 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.3252, allocations: 79.72 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.3254, allocations: 99.45 kB / 1.072 GB, free: 6.559 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.715e-05/0.3254, allocations: 16 kB / 1.072 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.172e-05/0.3254, allocations: 20 kB / 1.072 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 8.626e-05/0.3255, allocations: 83.69 kB / 1.072 GB, free: 6.441 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001212/0.3257, allocations: 159 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002756/0.3259, allocations: 334.7 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.326, allocations: 0 / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.242e-06/0.326, allocations: 0 / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.326, allocations: 0 / 1.072 GB, free: 5.957 MB / 0.8262 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.00077/0.3268, allocations: 0.6417 MB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.3268, allocations: 12.03 kB / 1.073 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.81e-05/0.3269, allocations: 48.38 kB / 1.073 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.3272, allocations: 302.2 kB / 1.073 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.488e-05/0.3272, allocations: 8.375 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.3273, allocations: 16.38 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.3275, allocations: 147.4 kB / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3275, allocations: 192 / 1.074 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.3276, allocations: 11.92 kB / 1.074 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.3276, allocations: 8 kB / 1.074 GB, free: 4.676 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002206/0.3278, allocations: 87.95 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007598/0.3286, allocations: 0.5972 MB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.3288, allocations: 86.66 kB / 1.074 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.3289, allocations: 52.78 kB / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.089e-05/0.329, allocations: 0 / 1.074 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.329, allocations: 34.56 kB / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 9.12e-07/0.329, allocations: 0 / 1.074 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.000348/0.3293, allocations: 153.4 kB / 1.075 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.3294, allocations: 51.41 kB / 1.075 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003511/0.3297, allocations: 390 kB / 1.075 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.3298, allocations: 25.7 kB / 1.075 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001415/0.3299, allocations: 216 kB / 1.075 GB, free: 2.895 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.3299, allocations: 35.55 kB / 1.075 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.524e-05/0.33, allocations: 29.62 kB / 1.075 GB, free: 2.824 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3301, allocations: 350.7 kB / 1.076 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.914e-05/0.3302, allocations: 31.92 kB / 1.076 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.989e-05/0.3303, allocations: 51.42 kB / 1.076 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.3305, allocations: 99.3 kB / 1.076 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3305, allocations: 4 kB / 1.076 GB, free: 2.266 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002335/0.3307, allocations: 137.2 kB / 1.076 GB, free: 2.125 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.3308, allocations: 4 kB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.3308, allocations: 4 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.3308, allocations: 96 / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.3309, allocations: 31.92 kB / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3309, allocations: 0 / 1.076 GB, free: 2.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.177e-05/0.331, allocations: 15.84 kB / 1.076 GB, free: 2.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.331, allocations: 4 kB / 1.076 GB, free: 2.066 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.000134/0.3312, allocations: 172 kB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.709e-05/0.3312, allocations: 31.62 kB / 1.076 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.502e-05/0.3313, allocations: 35.22 kB / 1.076 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.3313, allocations: 4 kB / 1.076 GB, free: 1.812 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.3313, allocations: 7.938 kB / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3313, allocations: 0 / 1.076 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.3316, allocations: 313.5 kB / 1.077 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3316, allocations: 0 / 1.077 GB, free: 1.449 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001234/0.3318, allocations: 27.91 kB / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3318, allocations: 0 / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.447e-06/0.3318, allocations: 0 / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.3318, allocations: 0 / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.3318, allocations: 0 / 1.077 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003435/0.3321, allocations: 262.9 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.366e-05/0.3322, allocations: 108.8 kB / 1.077 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.3323, allocations: 8 kB / 1.077 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.459e-05/0.3324, allocations: 0 / 1.077 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.3324, allocations: 7.984 kB / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.3324, allocations: 0 / 1.077 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002575/0.3327, allocations: 283.1 kB / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3327, allocations: 0 / 1.077 GB, free: 0.7344 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002753/0.333, allocations: 51.84 kB / 1.077 GB, free: 0.6836 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.0001113/0.3331, allocations: 103.2 kB / 1.077 GB, free: 0.5742 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002183/0.3333, allocations: 75.91 kB / 1.077 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3333, allocations: 3.938 kB / 1.077 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.015e-05/0.3334, allocations: 35.92 kB / 1.078 GB, free: 472 kB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.3338, allocations: 30.22 kB / 1.078 GB, free: 444 kB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001023/0.3348, allocations: 0.6606 MB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.3352, allocations: 0.7981 MB / 1.079 GB, free: 14.93 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.607e-05/0.3352, allocations: 16.64 kB / 1.079 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.3353, allocations: 11.44 kB / 1.079 GB, free: 14.9 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3353, allocations: 4 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of Templates: time 0.004321/0.3396, allocations: 1.266 MB / 1.08 GB, free: 13.64 MB / 0.8419 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