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.001937/0.001937, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002207/0.002207, allocations: 198.6 kB / 16.26 MB, free: 6.625 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.52/1.52, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.837/2.837, allocations: 437 MB / 0.7101 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00206/0.00206, allocations: 63.89 kB / 0.8687 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8049/0.8069, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.005506/0.8125, allocations: 2.502 MB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.8136, allocations: 0.5121 MB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.768e-05/0.8137, allocations: 4 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004444/0.8142, allocations: 127.8 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001639/0.8143, allocations: 79.47 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001349/0.8145, allocations: 35.97 kB / 1.02 GB, free: 15.42 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002856/0.8148, allocations: 246.8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002481/0.815, allocations: 109.1 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001413/0.8152, allocations: 95.58 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.8153, allocations: 103.5 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.878e-05/0.8154, allocations: 16 kB / 1.021 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.121e-05/0.8154, allocations: 20 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001169/0.8156, allocations: 87.69 kB / 1.021 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001634/0.8157, allocations: 150.9 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003566/0.8161, allocations: 342.6 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.8161, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.823e-06/0.8161, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.8161, allocations: 0 / 1.021 GB, free: 14.27 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.0009482/0.8171, allocations: 0.6416 MB / 1.022 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.591e-05/0.8171, allocations: 12.03 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.952e-05/0.8172, allocations: 48.47 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004316/0.8177, allocations: 306.1 kB / 1.022 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.228e-05/0.8177, allocations: 12.31 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.8178, allocations: 16.38 kB / 1.022 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003232/0.8181, allocations: 138 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.8181, allocations: 192 / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.8181, allocations: 7.938 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.8181, allocations: 4 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002384/0.8184, allocations: 91.95 kB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009296/0.8193, allocations: 0.5934 MB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.8196, allocations: 90.59 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.8197, allocations: 44.84 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.8198, allocations: 0 / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.8198, allocations: 34.56 kB / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 8.62e-07/0.8198, allocations: 0 / 1.023 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.000386/0.8202, allocations: 149.2 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.403e-05/0.8203, allocations: 51.41 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000454/0.8207, allocations: 393.9 kB / 1.024 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.8208, allocations: 29.7 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.821, allocations: 223.9 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.798e-05/0.821, allocations: 31.55 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.8211, allocations: 25.72 kB / 1.024 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002254/0.8213, allocations: 358.7 kB / 1.024 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.417e-05/0.8214, allocations: 27.98 kB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.8215, allocations: 51.42 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.8217, allocations: 87.73 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.8217, allocations: 4 kB / 1.024 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002809/0.822, allocations: 149 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.8221, allocations: 7.938 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.8221, allocations: 4 kB / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.8221, allocations: 0 / 1.025 GB, free: 10.44 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.8222, allocations: 27.98 kB / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.8222, allocations: 0 / 1.025 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.766e-05/0.8223, allocations: 16.08 kB / 1.025 GB, free: 10.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.8224, allocations: 4 kB / 1.025 GB, free: 10.39 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.000189/0.8226, allocations: 166.2 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.916e-05/0.8226, allocations: 39.53 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.265e-05/0.8227, allocations: 43.2 kB / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.8227, allocations: 0 / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.8227, allocations: 0 / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.8227, allocations: 0 / 1.025 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003711/0.8231, allocations: 313.4 kB / 1.025 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.8231, allocations: 0 / 1.025 GB, free: 9.785 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001297/0.8232, allocations: 23.98 kB / 1.025 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.744e-06/0.8233, allocations: 0 / 1.025 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.8233, allocations: 0 / 1.025 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.008e-06/0.8233, allocations: 4 kB / 1.025 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.8233, allocations: 0 / 1.025 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004293/0.8237, allocations: 254.9 kB / 1.025 GB, free: 9.492 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/0.8239, allocations: 116.7 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.8239, allocations: 3.938 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/0.824, allocations: 7.984 kB / 1.026 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.824, allocations: 4 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.8241, allocations: 4.188 kB / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003112/0.8244, allocations: 279.1 kB / 1.026 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8244, allocations: 3.938 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002858/0.8247, allocations: 47.78 kB / 1.026 GB, free: 9.016 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.0001497/0.8248, allocations: 103.3 kB / 1.026 GB, free: 8.902 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002577/0.8251, allocations: 79.84 kB / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.8251, allocations: 0 / 1.026 GB, free: 8.824 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.402e-05/0.8252, allocations: 35.98 kB / 1.026 GB, free: 8.789 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.8256, allocations: 25.73 kB / 1.026 GB, free: 8.766 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/0.827, allocations: 0.7644 MB / 1.027 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004721/0.8274, allocations: 0.802 MB / 1.028 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.768e-05/0.8275, allocations: 12.59 kB / 1.028 GB, free: 7.137 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.8276, allocations: 15.44 kB / 1.028 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8276, allocations: 0 / 1.028 GB, free: 7.121 MB / 0.7794 GB Notification: Performance of Templates: time 0.005281/0.8329, allocations: 1.228 MB / 1.029 GB, free: 5.906 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=400 -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