Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_latest_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.006869/0.006869, allocations: 96.19 kB / 15.73 MB, free: 6.043 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.001554/0.001555, allocations: 195.3 kB / 16.67 MB, free: 5.969 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.533/2.533, allocations: 469.4 MB / 0.7422 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001219/0.001219, allocations: 67.83 kB / 1.064 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2601, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003268/0.2634, allocations: 2.447 MB / 1.222 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0007685/0.2642, allocations: 0.5354 MB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.722e-05/0.2643, allocations: 4 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003464/0.2647, allocations: 135.4 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.2648, allocations: 87.28 kB / 1.223 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001085/0.2649, allocations: 47.89 kB / 1.223 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002287/0.2652, allocations: 246.7 kB / 1.223 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.2654, allocations: 107.6 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.2655, allocations: 83.7 kB / 1.223 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001235/0.2656, allocations: 99.5 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.374e-05/0.2657, allocations: 16 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 3.472e-05/0.2657, allocations: 20 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.314e-05/0.2658, allocations: 75.7 kB / 1.224 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.2659, allocations: 162.9 kB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003197/0.2663, allocations: 342.3 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2663, allocations: 0 / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2663, allocations: 4 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.2663, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 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.0007796/0.2671, allocations: 0.6571 MB / 1.225 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2671, allocations: 12.03 kB / 1.225 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.93e-05/0.2672, allocations: 46.73 kB / 1.225 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.636e-05/0.2672, allocations: 44.66 kB / 1.225 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003366/0.2676, allocations: 310.5 kB / 1.225 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.2676, allocations: 16.31 kB / 1.225 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.504e-05/0.2676, allocations: 12.38 kB / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.2679, allocations: 143.5 kB / 1.225 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.2679, allocations: 3.938 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.268, allocations: 4 kB / 1.225 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.268, allocations: 7.938 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002071/0.2682, allocations: 95.95 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007305/0.2689, allocations: 0.5859 MB / 1.226 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000221/0.2691, allocations: 86.59 kB / 1.226 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.895e-05/0.2693, allocations: 44.91 kB / 1.226 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.2693, allocations: 11.98 kB / 1.226 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.469e-05/0.2693, allocations: 38.44 kB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.2693, allocations: 0 / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003296/0.2696, allocations: 145.4 kB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.169e-05/0.2697, allocations: 55.41 kB / 1.226 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003434/0.27, allocations: 390 kB / 1.227 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.2701, allocations: 25.7 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/0.2702, allocations: 224.2 kB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.2702, allocations: 35.72 kB / 1.227 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/0.2703, allocations: 29.67 kB / 1.227 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.2704, allocations: 350.7 kB / 1.227 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.697e-05/0.2705, allocations: 23.98 kB / 1.227 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.482e-05/0.2706, allocations: 60.67 kB / 1.227 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001719/0.2708, allocations: 95.73 kB / 1.227 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2708, allocations: 0 / 1.227 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002378/0.271, allocations: 153.2 kB / 1.228 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.2711, allocations: 4 kB / 1.228 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.2711, allocations: 4.094 kB / 1.228 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.2711, allocations: 4 kB / 1.228 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.2712, allocations: 27.92 kB / 1.228 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2712, allocations: 0 / 1.228 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.15e-05/0.2713, allocations: 11.94 kB / 1.228 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.2713, allocations: 7.938 kB / 1.228 GB, free: 6.285 MB / 0.9825 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.000137/0.2715, allocations: 161.8 kB / 1.228 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.949e-05/0.2715, allocations: 35.77 kB / 1.228 GB, free: 6.082 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.835e-05/0.2716, allocations: 39.22 kB / 1.228 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-06/0.2716, allocations: 4 kB / 1.228 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2716, allocations: 0 / 1.228 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.2716, allocations: 3.984 kB / 1.228 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.2719, allocations: 305.4 kB / 1.228 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2719, allocations: 3.984 kB / 1.228 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001288/0.2721, allocations: 19.94 kB / 1.228 GB, free: 5.664 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.719e-06/0.2721, allocations: 4 kB / 1.228 GB, free: 5.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.2721, allocations: 4 kB / 1.228 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2721, allocations: 0 / 1.228 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2721, allocations: 0 / 1.228 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.2724, allocations: 259.2 kB / 1.228 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.986e-05/0.2725, allocations: 116.8 kB / 1.229 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.853e-05/0.2726, allocations: 4 kB / 1.229 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.785e-05/0.2727, allocations: 4 kB / 1.229 GB, free: 5.246 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.2727, allocations: 3.984 kB / 1.229 GB, free: 5.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.2727, allocations: 4.188 kB / 1.229 GB, free: 5.238 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002493/0.273, allocations: 291.1 kB / 1.229 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.273, allocations: 3.938 kB / 1.229 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000273/0.2733, allocations: 43.89 kB / 1.229 GB, free: 4.906 MB / 0.9825 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.0005697/0.2738, allocations: 0.7864 MB / 1.23 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002097/0.2741, allocations: 83.91 kB / 1.23 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2741, allocations: 0 / 1.23 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.591e-05/0.2741, allocations: 31.98 kB / 1.23 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.2745, allocations: 23.28 kB / 1.23 GB, free: 3.961 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002827/0.2774, allocations: 2.728 MB / 1.232 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.2777, allocations: 0.7981 MB / 1.233 GB, free: 320 kB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.485e-05/0.2778, allocations: 16.59 kB / 1.233 GB, free: 304 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.2779, allocations: 107.4 kB / 1.233 GB, free: 196 kB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.2779, allocations: 0 / 1.233 GB, free: 196 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01957/0.2975, allocations: 4.945 MB / 1.238 GB, free: 11.38 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.343/7.641, allocations: 13.69 kB / 1.238 GB, free: 11.37 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches