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: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_10_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.000931/0.000931, allocations: 97.8 kB / 15.36 MB, free: 0.7344 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.007429/0.007429, allocations: 171.2 kB / 16.27 MB, free: 6.652 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.281/1.281, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.371/2.371, allocations: 437.8 MB / 0.7121 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003423/0.0003423, allocations: 16 kB / 0.8729 GB, free: 3.215 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6024/0.6027, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002256/0.605, allocations: 2.136 MB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0006035/0.6057, allocations: 0.5122 MB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.723e-05/0.6057, allocations: 4 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003027/0.606, allocations: 130 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.6062, allocations: 83.41 kB / 1.026 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 8.976e-05/0.6063, allocations: 39.97 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.6065, allocations: 230.8 kB / 1.026 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001755/0.6067, allocations: 95.03 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.99e-05/0.6068, allocations: 63.67 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.6069, allocations: 91.5 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.167e-05/0.6069, allocations: 12 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 2.873e-05/0.607, allocations: 8 kB / 1.026 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.669e-05/0.607, allocations: 71.64 kB / 1.027 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.6072, allocations: 168.7 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.6074, allocations: 314.6 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.6074, allocations: 4 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.303e-06/0.6074, allocations: 0 / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.6074, allocations: 0 / 1.027 GB, free: 11.88 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.0006314/0.6081, allocations: 0.5991 MB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.6081, allocations: 8.031 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.6082, allocations: 46.73 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.942e-05/0.6082, allocations: 44.38 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.6085, allocations: 306.2 kB / 1.028 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.6085, allocations: 12.38 kB / 1.028 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.791e-05/0.6086, allocations: 12.38 kB / 1.028 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.6088, allocations: 153.9 kB / 1.028 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.6089, allocations: 7.844 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.619e-05/0.6089, allocations: 8 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.6089, allocations: 4 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.6091, allocations: 95.89 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006715/0.6098, allocations: 0.5817 MB / 1.029 GB, free: 9.859 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.61, allocations: 86.55 kB / 1.029 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.619e-05/0.6101, allocations: 48.95 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.6101, allocations: 4 kB / 1.029 GB, free: 9.711 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.833e-05/0.6101, allocations: 34.55 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.112e-06/0.6101, allocations: 3.938 kB / 1.029 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0003069/0.6105, allocations: 137.6 kB / 1.029 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.6105, allocations: 59.44 kB / 1.029 GB, free: 9.453 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.6108, allocations: 397.9 kB / 1.03 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.6108, allocations: 25.7 kB / 1.03 GB, free: 9.031 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/0.611, allocations: 223.9 kB / 1.03 GB, free: 8.809 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.611, allocations: 27.56 kB / 1.03 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.78e-05/0.611, allocations: 21.7 kB / 1.03 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.6112, allocations: 342.8 kB / 1.03 GB, free: 8.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.411e-05/0.6112, allocations: 31.98 kB / 1.03 GB, free: 8.379 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.128e-05/0.6113, allocations: 58.91 kB / 1.03 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.6115, allocations: 99.3 kB / 1.03 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6115, allocations: 0 / 1.03 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002203/0.6117, allocations: 145.2 kB / 1.03 GB, free: 8.055 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.6118, allocations: 8 kB / 1.03 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.6118, allocations: 0 / 1.03 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.6118, allocations: 0 / 1.03 GB, free: 8.047 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.6119, allocations: 23.98 kB / 1.03 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.6119, allocations: 7.938 kB / 1.031 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.129e-05/0.612, allocations: 11.91 kB / 1.031 GB, free: 8.004 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.508e-06/0.612, allocations: 7.938 kB / 1.031 GB, free: 7.996 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.0001301/0.6121, allocations: 166.4 kB / 1.031 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.41e-05/0.6122, allocations: 35.52 kB / 1.031 GB, free: 7.789 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.828e-05/0.6123, allocations: 39.22 kB / 1.031 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.6123, allocations: 0 / 1.031 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.6123, allocations: 0 / 1.031 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.6123, allocations: 7.984 kB / 1.031 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/0.6126, allocations: 309.4 kB / 1.031 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.6126, allocations: 4 kB / 1.031 GB, free: 7.387 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.6127, allocations: 20.02 kB / 1.031 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.6127, allocations: 7.938 kB / 1.031 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.6127, allocations: 8 kB / 1.031 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.6127, allocations: 0 / 1.031 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.6127, allocations: 0 / 1.031 GB, free: 7.352 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.6131, allocations: 254.9 kB / 1.031 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.149e-05/0.6132, allocations: 108.8 kB / 1.031 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.459e-05/0.6132, allocations: 4 kB / 1.031 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.475e-05/0.6133, allocations: 4.062 kB / 1.031 GB, free: 6.953 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.139e-05/0.6133, allocations: 11.98 kB / 1.031 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.6134, allocations: 4 kB / 1.031 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002526/0.6136, allocations: 287.1 kB / 1.032 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.6136, allocations: 0 / 1.032 GB, free: 6.656 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002541/0.6139, allocations: 47.84 kB / 1.032 GB, free: 6.609 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.0005693/0.6145, allocations: 0.7862 MB / 1.033 GB, free: 5.793 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001749/0.6146, allocations: 68.05 kB / 1.033 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.6146, allocations: 4 kB / 1.033 GB, free: 5.723 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.608e-05/0.6147, allocations: 40.11 kB / 1.033 GB, free: 5.684 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.615, allocations: 33.67 kB / 1.033 GB, free: 5.652 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002783/0.6178, allocations: 2.854 MB / 1.035 GB, free: 2.688 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.6182, allocations: 0.8034 MB / 1.036 GB, free: 1.859 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.564e-05/0.6183, allocations: 8.656 kB / 1.036 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.6184, allocations: 107.4 kB / 1.036 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.6184, allocations: 0 / 1.036 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8892/1.508, allocations: 4.678 MB / 1.041 GB, free: 13.25 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/1.508, allocations: 216.3 kB / 1.041 GB, free: 13 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.239/3.747, allocations: 0 / 1.041 GB, free: 13 MB / 0.795 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > 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