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.001496/0.001496, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00174/0.001741, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.254/1.254, allocations: 222.9 MB / 239.8 MB, free: 4.637 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.349/2.349, allocations: 437 MB / 0.7099 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001338, allocations: 63.89 kB / 0.8687 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.497/0.4983, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003301/0.5017, allocations: 2.502 MB / 1.019 GB, free: 304 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0007286/0.5024, allocations: 0.5199 MB / 1.02 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.389e-05/0.5025, allocations: 4 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.5029, allocations: 134 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.503, allocations: 75.42 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001005/0.5032, allocations: 43.97 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002168/0.5034, allocations: 238.7 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.5035, allocations: 93.06 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.5037, allocations: 75.67 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.5038, allocations: 103.5 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.115e-05/0.5038, allocations: 12 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 3.775e-05/0.5039, allocations: 12 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.12e-05/0.5039, allocations: 75.69 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.5041, allocations: 151 kB / 1.021 GB, free: 14.78 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.5043, allocations: 330.6 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.5043, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.52e-07/0.5043, allocations: 0 / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.5043, allocations: 0 / 1.021 GB, free: 14.46 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.0007244/0.5051, allocations: 0.6378 MB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.5051, allocations: 12.03 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.547e-05/0.5052, allocations: 50.73 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.5052, allocations: 40.47 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003222/0.5056, allocations: 306.1 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.5056, allocations: 8.375 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.5056, allocations: 20.38 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.5059, allocations: 141.9 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.5059, allocations: 3.938 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.423e-05/0.5059, allocations: 8 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5059, allocations: 4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.5061, allocations: 91.95 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007118/0.5068, allocations: 0.5934 MB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.5071, allocations: 82.62 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.5072, allocations: 48.86 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.297e-05/0.5072, allocations: 7.938 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.798e-05/0.5072, allocations: 38.56 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 2.425e-06/0.5072, allocations: 0 / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0003187/0.5076, allocations: 149 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.735e-05/0.5076, allocations: 55.41 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003385/0.5079, allocations: 390 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.508, allocations: 29.7 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001338/0.5081, allocations: 216 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.412e-05/0.5081, allocations: 35.55 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.5082, allocations: 29.7 kB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.5083, allocations: 354.7 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.35e-05/0.5084, allocations: 27.98 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.632e-05/0.5085, allocations: 60.55 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.5086, allocations: 87.36 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5086, allocations: 0 / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002252/0.5089, allocations: 149.1 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.14e-05/0.5089, allocations: 4 kB / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.808e-06/0.5089, allocations: 0 / 1.024 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.5089, allocations: 8.094 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.509, allocations: 31.92 kB / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.5091, allocations: 0 / 1.025 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.802e-05/0.5092, allocations: 7.906 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.5092, allocations: 8.406 kB / 1.025 GB, free: 10.52 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.0001333/0.5093, allocations: 166.3 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.148e-05/0.5094, allocations: 31.62 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.037e-05/0.5094, allocations: 35.22 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.5094, allocations: 8 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.5094, allocations: 3.938 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.5094, allocations: 0 / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/0.5097, allocations: 317.3 kB / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.5097, allocations: 0 / 1.025 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.5099, allocations: 23.92 kB / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.5099, allocations: 0 / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.5099, allocations: 0 / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5099, allocations: 0 / 1.025 GB, free: 9.883 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.5099, allocations: 4 kB / 1.025 GB, free: 9.879 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003255/0.5102, allocations: 255 kB / 1.025 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.746e-05/0.5103, allocations: 116.7 kB / 1.025 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.844e-05/0.5103, allocations: 0 / 1.025 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.929e-05/0.5105, allocations: 3.938 kB / 1.025 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.4e-05/0.5105, allocations: 11.98 kB / 1.025 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.5105, allocations: 4 kB / 1.025 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002454/0.5108, allocations: 283.1 kB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5108, allocations: 0 / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002677/0.511, allocations: 47.84 kB / 1.026 GB, free: 9.137 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.0005482/0.5116, allocations: 0.7862 MB / 1.027 GB, free: 8.32 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001788/0.5118, allocations: 84.09 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.5118, allocations: 0 / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.17e-05/0.5119, allocations: 31.98 kB / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003187/0.5122, allocations: 33.61 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.5149, allocations: 2.812 MB / 1.029 GB, free: 5.258 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.5153, allocations: 0.8033 MB / 1.03 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.186e-05/0.5154, allocations: 12.64 kB / 1.03 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.5155, allocations: 103.3 kB / 1.03 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of SimCode: time 2.41e-07/0.5155, allocations: 0 / 1.03 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2786/0.7941, allocations: 4.688 MB / 1.035 GB, free: 15.79 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002212/0.7944, allocations: 218 kB / 1.035 GB, free: 15.53 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/2.582, allocations: 3.5 kB / 1.035 GB, free: 15.53 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