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.001332/0.001332, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001886/0.001886, allocations: 195 kB / 16.14 MB, free: 6.648 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 / 239.8 MB, free: 4.586 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.546/2.546, allocations: 437 MB / 0.7099 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 71.89 kB / 0.8685 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7835/0.7848, allocations: 151.6 MB / 1.017 GB, free: 2.77 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003821/0.7887, allocations: 2.506 MB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.000887/0.7896, allocations: 0.5082 MB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.944e-05/0.7897, allocations: 7.938 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004868/0.7902, allocations: 123.8 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.7904, allocations: 87.41 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.7905, allocations: 35.97 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000235/0.7908, allocations: 234.8 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002124/0.791, allocations: 101 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000113/0.7911, allocations: 79.66 kB / 1.02 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.7912, allocations: 99.5 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.192e-05/0.7913, allocations: 12 kB / 1.02 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.118e-05/0.7913, allocations: 12 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.7914, allocations: 79.62 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001426/0.7916, allocations: 151 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002835/0.7919, allocations: 330.6 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.7919, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of FrontEnd: time 8.31e-07/0.7919, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.7919, allocations: 0 / 1.021 GB, free: 14.41 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.0007934/0.7927, allocations: 0.64 MB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.7927, allocations: 8.031 kB / 1.021 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.249e-05/0.7928, allocations: 40.47 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003577/0.7932, allocations: 306.1 kB / 1.022 GB, free: 13.33 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.7932, allocations: 16.38 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/0.7932, allocations: 16.36 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.7935, allocations: 138 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.7936, allocations: 192 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.7936, allocations: 11.94 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.7936, allocations: 4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/0.7938, allocations: 95.89 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008491/0.7947, allocations: 0.5895 MB / 1.023 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00025/0.795, allocations: 86.59 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.7951, allocations: 44.91 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.7951, allocations: 0 / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/0.7951, allocations: 38.56 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.002e-06/0.7951, allocations: 3.938 kB / 1.023 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0003761/0.7955, allocations: 137.5 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.7956, allocations: 59.44 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000416/0.796, allocations: 393.9 kB / 1.023 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.796, allocations: 33.7 kB / 1.023 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.7962, allocations: 216 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.7962, allocations: 31.55 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.033e-05/0.7963, allocations: 25.72 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.7964, allocations: 354.7 kB / 1.024 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-05/0.7965, allocations: 27.98 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.957e-05/0.7966, allocations: 51.42 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.7968, allocations: 91.3 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7968, allocations: 4 kB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002374/0.797, allocations: 153.1 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.7971, allocations: 4 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.7971, allocations: 0 / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.7971, allocations: 4 kB / 1.024 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.7972, allocations: 27.98 kB / 1.024 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.7972, allocations: 3.938 kB / 1.024 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.173e-05/0.7973, allocations: 11.98 kB / 1.024 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.7973, allocations: 8 kB / 1.024 GB, free: 10.54 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.000159/0.7975, allocations: 165.8 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.7976, allocations: 31.62 kB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.204e-05/0.7976, allocations: 35.22 kB / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.7976, allocations: 0 / 1.025 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.435e-06/0.7976, allocations: 7.984 kB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.7977, allocations: 0 / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003109/0.798, allocations: 321.3 kB / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.798, allocations: 0 / 1.025 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001237/0.7981, allocations: 28.03 kB / 1.025 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.7981, allocations: 3.938 kB / 1.025 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.314e-05/0.7981, allocations: 3.984 kB / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.7981, allocations: 0 / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.7981, allocations: 0 / 1.025 GB, free: 9.891 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.7985, allocations: 251 kB / 1.025 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.267e-05/0.7986, allocations: 112.7 kB / 1.025 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.823e-05/0.7986, allocations: 8.062 kB / 1.025 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.695e-05/0.7987, allocations: 0 / 1.025 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.7988, allocations: 7.984 kB / 1.025 GB, free: 9.484 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.7988, allocations: 4 kB / 1.025 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002597/0.799, allocations: 279.1 kB / 1.026 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.71e-07/0.799, allocations: 0 / 1.026 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000262/0.7993, allocations: 51.78 kB / 1.026 GB, free: 9.156 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.0001397/0.7995, allocations: 99.78 kB / 1.026 GB, free: 9.047 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002299/0.7997, allocations: 79.84 kB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7997, allocations: 0 / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.658e-05/0.7998, allocations: 31.98 kB / 1.026 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.8002, allocations: 29.95 kB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001118/0.8013, allocations: 0.7602 MB / 1.027 GB, free: 8.121 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.8017, allocations: 0.8038 MB / 1.027 GB, free: 7.293 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.565e-05/0.8018, allocations: 12.64 kB / 1.027 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.8018, allocations: 15.44 kB / 1.027 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of SimCode: time 2.11e-07/0.8018, allocations: 0 / 1.027 GB, free: 7.266 MB / 0.7794 GB Notification: Performance of Templates: time 0.004153/0.806, allocations: 1.195 MB / 1.029 GB, free: 6.082 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/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