Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.008915/0.008916, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.00171/0.00171, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.728/2.728, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 1.019 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3318, allocations: 151.6 MB / 1.167 GB, free: 6.766 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003537/0.3354, allocations: 2.436 MB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007992/0.3362, allocations: 0.5392 MB / 1.17 GB, free: 3.773 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.561e-05/0.3363, allocations: 4 kB / 1.17 GB, free: 3.77 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000383/0.3367, allocations: 135.4 kB / 1.17 GB, free: 3.637 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000158/0.3369, allocations: 87.28 kB / 1.17 GB, free: 3.551 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001201/0.337, allocations: 51.89 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002552/0.3372, allocations: 242.7 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002739/0.3375, allocations: 107.1 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001656/0.3377, allocations: 87.64 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001807/0.3379, allocations: 95.52 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.521e-05/0.3379, allocations: 20 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.897e-05/0.338, allocations: 19.94 kB / 1.17 GB, free: 2.938 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001242/0.3381, allocations: 83.69 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001553/0.3383, allocations: 155 kB / 1.171 GB, free: 2.703 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003746/0.3387, allocations: 342.4 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3387, allocations: 0 / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3387, allocations: 0 / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.3387, allocations: 4 kB / 1.171 GB, free: 2.363 MB / 0.92 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.0009089/0.3396, allocations: 0.657 MB / 1.172 GB, free: 1.652 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.3397, allocations: 12.03 kB / 1.172 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.931e-05/0.3397, allocations: 48.59 kB / 1.172 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003722/0.3401, allocations: 306.5 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.095e-05/0.3402, allocations: 16.38 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.712e-05/0.3402, allocations: 12.38 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.3405, allocations: 141.9 kB / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.532e-05/0.3405, allocations: 192 / 1.172 GB, free: 1.086 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.12e-05/0.3405, allocations: 7.938 kB / 1.172 GB, free: 1.078 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.846e-05/0.3406, allocations: 4 kB / 1.172 GB, free: 1.074 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002274/0.3408, allocations: 99.64 kB / 1.172 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008436/0.3416, allocations: 0.586 MB / 1.173 GB, free: 348 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.3419, allocations: 90.66 kB / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.342, allocations: 48.83 kB / 1.173 GB, free: 196 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.342, allocations: 4 kB / 1.173 GB, free: 192 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.3421, allocations: 34.56 kB / 1.173 GB, free: 148 kB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.282e-06/0.3421, allocations: 3.938 kB / 1.173 GB, free: 144 kB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0003622/0.3425, allocations: 141.5 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/0.3425, allocations: 59.34 kB / 1.173 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003837/0.3429, allocations: 389.9 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.655e-05/0.3429, allocations: 25.7 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.3431, allocations: 216.2 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.915e-05/0.3431, allocations: 39.72 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.323e-05/0.3432, allocations: 25.72 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3433, allocations: 355.1 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.751e-05/0.3434, allocations: 23.98 kB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.339e-05/0.3435, allocations: 55.42 kB / 1.174 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.3437, allocations: 95.3 kB / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3437, allocations: 0 / 1.174 GB, free: 14.67 MB / 0.9356 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002446/0.344, allocations: 149.3 kB / 1.174 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.344, allocations: 4 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.344, allocations: 0 / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.344, allocations: 4.094 kB / 1.174 GB, free: 14.51 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.3442, allocations: 27.98 kB / 1.174 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.3442, allocations: 3.938 kB / 1.174 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.093e-05/0.3443, allocations: 15.88 kB / 1.174 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.3443, allocations: 11.94 kB / 1.174 GB, free: 14.45 MB / 0.9356 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.0001516/0.3444, allocations: 165.7 kB / 1.175 GB, free: 14.28 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.907e-05/0.3445, allocations: 35.77 kB / 1.175 GB, free: 14.24 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.604e-05/0.3446, allocations: 39.22 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3446, allocations: 0 / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3446, allocations: 4 kB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.3446, allocations: 0 / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.3449, allocations: 305.5 kB / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3449, allocations: 0 / 1.175 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.345, allocations: 23.92 kB / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.345, allocations: 0 / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.3451, allocations: 4 kB / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3451, allocations: 0 / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3451, allocations: 0 / 1.175 GB, free: 13.82 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003601/0.3454, allocations: 271.1 kB / 1.175 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.456e-05/0.3455, allocations: 116.8 kB / 1.175 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/0.3456, allocations: 0 / 1.175 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.549e-05/0.3457, allocations: 8 kB / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.423e-05/0.3457, allocations: 3.984 kB / 1.175 GB, free: 13.4 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.125e-06/0.3457, allocations: 8 kB / 1.175 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0002785/0.346, allocations: 283.1 kB / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.346, allocations: 0 / 1.176 GB, free: 13.12 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002636/0.3463, allocations: 43.95 kB / 1.176 GB, free: 13.07 MB / 0.9356 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.3464, allocations: 103.2 kB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002296/0.3467, allocations: 71.84 kB / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3467, allocations: 0 / 1.176 GB, free: 12.89 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 8.115e-05/0.3468, allocations: 35.98 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.3471, allocations: 25.69 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001091/0.3482, allocations: 0.6639 MB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.3486, allocations: 0.7981 MB / 1.177 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.477e-05/0.3487, allocations: 16.64 kB / 1.177 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.3487, allocations: 11.44 kB / 1.177 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.3488, allocations: 4 kB / 1.177 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of Templates: time 0.004658/0.3534, allocations: 1.27 MB / 1.179 GB, free: 10.03 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches