Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005874/0.005874, allocations: 98.62 kB / 15.73 MB, free: 6.02 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.001316/0.001316, allocations: 190.7 kB / 16.67 MB, free: 5.938 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 390.3 MB / 0.6648 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 63.89 kB / 0.9504 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7045/0.7059, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003313/0.7092, allocations: 2.451 MB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0007665/0.71, allocations: 0.5343 MB / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.642e-05/0.7101, allocations: 3.094 kB / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.7105, allocations: 123.8 kB / 1.091 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001578/0.7107, allocations: 98.72 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001106/0.7108, allocations: 43.42 kB / 1.091 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.711, allocations: 240.7 kB / 1.091 GB, free: 2.887 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.7113, allocations: 110.7 kB / 1.091 GB, free: 2.828 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.7114, allocations: 87.17 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001364/0.7115, allocations: 101.6 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.7116, allocations: 18.62 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.68e-05/0.7116, allocations: 18.94 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.809e-05/0.7117, allocations: 83.31 kB / 1.091 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.7119, allocations: 148.5 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004101/0.7123, allocations: 345.8 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.7123, allocations: 1.344 kB / 1.092 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7123, allocations: 4 kB / 1.092 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.7123, allocations: 0.9375 kB / 1.092 GB, free: 2.445 MB / 0.8575 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.0008279/0.7131, allocations: 0.6532 MB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.7132, allocations: 9.031 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.167e-05/0.7133, allocations: 51.77 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.284e-05/0.7133, allocations: 48.52 kB / 1.092 GB, free: 1.805 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.7137, allocations: 308.4 kB / 1.093 GB, free: 1.523 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.031e-05/0.7137, allocations: 23.06 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.7137, allocations: 13.78 kB / 1.093 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.714, allocations: 136.1 kB / 1.093 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/0.714, allocations: 3.938 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.7141, allocations: 9.469 kB / 1.093 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.7141, allocations: 3.969 kB / 1.093 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002397/0.7143, allocations: 92.3 kB / 1.093 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008079/0.7151, allocations: 0.59 MB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.7154, allocations: 89.3 kB / 1.094 GB, free: 0.9141 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001116/0.7155, allocations: 51.53 kB / 1.094 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.7156, allocations: 6.266 kB / 1.094 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.671e-05/0.7156, allocations: 31.16 kB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.213e-06/0.7156, allocations: 0.75 kB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0003793/0.716, allocations: 146.9 kB / 1.094 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.813e-05/0.716, allocations: 53.73 kB / 1.094 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004022/0.7164, allocations: 389 kB / 1.094 GB, free: 0.5195 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.036e-05/0.7164, allocations: 26.36 kB / 1.094 GB, free: 500 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.7165, allocations: 221.7 kB / 1.095 GB, free: 312 kB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.7166, allocations: 34.25 kB / 1.095 GB, free: 284 kB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.319e-05/0.7166, allocations: 27.02 kB / 1.095 GB, free: 260 kB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001006/0.7167, allocations: 352 kB / 1.095 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.503e-05/0.7168, allocations: 25.89 kB / 1.095 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.83e-05/0.7169, allocations: 54.61 kB / 1.095 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.7171, allocations: 92.75 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.7171, allocations: 0.875 kB / 1.095 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002621/0.7174, allocations: 147 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.7174, allocations: 6 kB / 1.095 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.7174, allocations: 9.469 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.7175, allocations: 2.219 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.7176, allocations: 27.31 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.842e-06/0.7176, allocations: 1.391 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.632e-05/0.7177, allocations: 8.547 kB / 1.095 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.7177, allocations: 7.281 kB / 1.095 GB, free: 15.7 MB / 0.8731 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.0001708/0.7179, allocations: 163.9 kB / 1.096 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.846e-05/0.718, allocations: 47.69 kB / 1.096 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.109e-05/0.718, allocations: 42.98 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.718, allocations: 4.844 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.7181, allocations: 1.453 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.7181, allocations: 0.7031 kB / 1.096 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004013/0.7185, allocations: 313.1 kB / 1.096 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.7185, allocations: 0 / 1.096 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.7186, allocations: 19.08 kB / 1.096 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.297e-06/0.7186, allocations: 1.062 kB / 1.096 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.7187, allocations: 0.6094 kB / 1.096 GB, free: 15.26 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.7187, allocations: 4.672 kB / 1.096 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7187, allocations: 4.719 kB / 1.096 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.7191, allocations: 257.4 kB / 1.096 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.817e-05/0.7192, allocations: 112.7 kB / 1.096 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.163e-05/0.7192, allocations: 1.531 kB / 1.096 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.7193, allocations: 6.609 kB / 1.096 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.719e-05/0.7194, allocations: 5.156 kB / 1.096 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.492e-06/0.7194, allocations: 1.844 kB / 1.096 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003191/0.7197, allocations: 289.7 kB / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7197, allocations: 0 / 1.097 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003028/0.72, allocations: 42.33 kB / 1.097 GB, free: 14.79 MB / 0.8731 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.0006441/0.7207, allocations: 0.7962 MB / 1.097 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.7209, allocations: 73.27 kB / 1.097 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7209, allocations: 0.5625 kB / 1.097 GB, free: 14.04 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.035e-05/0.721, allocations: 36.45 kB / 1.098 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.7215, allocations: 26.7 kB / 1.098 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003399/0.7249, allocations: 2.72 MB / 1.1 GB, free: 12.21 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.7253, allocations: 0.7949 MB / 1.101 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 7.459e-05/0.7253, allocations: 13.86 kB / 1.101 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.7255, allocations: 98.92 kB / 1.101 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of SimCode: time 3.91e-07/0.7255, allocations: 480 / 1.101 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02399/0.7495, allocations: 4.948 MB / 1.106 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.732/8.482, allocations: 8.906 kB / 1.106 GB, free: 10.48 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv --start-time 0 --stop-time 1500 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.6 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches