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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001545/0.001545, allocations: 100.1 kB / 15.88 MB, free: 12 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.00192/0.00192, allocations: 196 kB / 16.79 MB, free: 6.809 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.446/1.446, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 437 MB / 0.7106 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 67.89 kB / 0.8692 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6726/0.6741, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003607/0.6778, allocations: 2.499 MB / 1.02 GB, free: 284 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007951/0.6786, allocations: 0.5239 MB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.765e-05/0.6787, allocations: 4 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003929/0.6791, allocations: 119.8 kB / 1.02 GB, free: 15.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.6793, allocations: 79.45 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000118/0.6794, allocations: 47.91 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.6796, allocations: 226.7 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.6798, allocations: 104.9 kB / 1.021 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001064/0.68, allocations: 75.67 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001325/0.6801, allocations: 99.5 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.272e-05/0.6801, allocations: 12 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.107e-05/0.6802, allocations: 12 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.952e-05/0.6803, allocations: 75.69 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.6804, allocations: 154.9 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002378/0.6807, allocations: 251.4 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.6807, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.71e-07/0.6807, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.6807, allocations: 4 kB / 1.021 GB, free: 14.51 MB / 0.7794 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.0007952/0.6815, allocations: 0.6378 MB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.6815, allocations: 12.03 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.64e-05/0.6816, allocations: 44.47 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003387/0.6819, allocations: 302.1 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/0.682, allocations: 8.375 kB / 1.022 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.202e-05/0.682, allocations: 20.38 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.6823, allocations: 141.9 kB / 1.023 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.6823, allocations: 192 / 1.023 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.6823, allocations: 7.938 kB / 1.023 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.6823, allocations: 4 kB / 1.023 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002327/0.6826, allocations: 99.89 kB / 1.023 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007707/0.6834, allocations: 0.5896 MB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.6836, allocations: 94.59 kB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.6837, allocations: 48.78 kB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.6837, allocations: 0 / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.835e-05/0.6838, allocations: 34.56 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 9.51e-07/0.6838, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0003448/0.6841, allocations: 141.1 kB / 1.024 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.6842, allocations: 55.41 kB / 1.024 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003854/0.6846, allocations: 397.9 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.6846, allocations: 29.7 kB / 1.024 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001499/0.6847, allocations: 223.9 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.6848, allocations: 31.55 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.577e-05/0.6848, allocations: 25.72 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.685, allocations: 354.7 kB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.818e-05/0.6851, allocations: 23.98 kB / 1.025 GB, free: 11.01 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.322e-05/0.6852, allocations: 59.42 kB / 1.025 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001672/0.6853, allocations: 83.36 kB / 1.025 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6854, allocations: 4 kB / 1.025 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002533/0.6856, allocations: 149.1 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.6856, allocations: 6.188 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6856, allocations: 4 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.6857, allocations: 0 / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.6858, allocations: 27.98 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.6858, allocations: 0 / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.687e-05/0.6859, allocations: 19.83 kB / 1.025 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.6859, allocations: 0 / 1.025 GB, free: 10.64 MB / 0.7794 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.0001447/0.6861, allocations: 174.3 kB / 1.025 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.663e-05/0.6861, allocations: 31.62 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.742e-05/0.6862, allocations: 39.22 kB / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6862, allocations: 0 / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.6862, allocations: 0 / 1.025 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.6862, allocations: 3.984 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003088/0.6865, allocations: 313.3 kB / 1.026 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.6865, allocations: 0 / 1.026 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/0.6867, allocations: 20 kB / 1.026 GB, free: 10.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.6867, allocations: 4 kB / 1.026 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.6867, allocations: 0 / 1.026 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.6867, allocations: 7.984 kB / 1.026 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.6867, allocations: 0 / 1.026 GB, free: 9.996 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003454/0.6871, allocations: 251 kB / 1.026 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.37e-05/0.6872, allocations: 116.7 kB / 1.026 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.6872, allocations: 0 / 1.026 GB, free: 9.602 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.6873, allocations: 12.06 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.6874, allocations: 7.984 kB / 1.026 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.6874, allocations: 7.938 kB / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002603/0.6876, allocations: 275.1 kB / 1.026 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6876, allocations: 0 / 1.026 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002777/0.6879, allocations: 51.78 kB / 1.026 GB, free: 9.254 MB / 0.7794 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.0001078/0.688, allocations: 99.25 kB / 1.026 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.6882, allocations: 75.91 kB / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6883, allocations: 288 / 1.026 GB, free: 9.07 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.546e-05/0.6883, allocations: 39.86 kB / 1.026 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.6887, allocations: 25.55 kB / 1.026 GB, free: 9.008 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.6898, allocations: 0.797 MB / 1.027 GB, free: 8.176 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.6902, allocations: 0.8039 MB / 1.028 GB, free: 7.348 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.6903, allocations: 11.44 kB / 1.028 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6903, allocations: 0 / 1.028 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of Templates: time 0.00451/0.6948, allocations: 2.977 MB / 1.031 GB, free: 4.387 MB / 0.7794 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/jenkins1/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