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: "" <> 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.001698/0.001698, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001851/0.001851, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.332/1.332, allocations: 222.9 MB / 240.2 MB, free: 4.395 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.485/2.485, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 67.89 kB / 0.8693 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5282/0.5295, allocations: 151.6 MB / 1.017 GB, free: 2.504 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003485/0.533, allocations: 2.435 MB / 1.02 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008321/0.5339, allocations: 0.5392 MB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.534, allocations: 4 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0003695/0.5344, allocations: 134 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001674/0.5345, allocations: 95.2 kB / 1.021 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001173/0.5347, allocations: 39.95 kB / 1.021 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002312/0.5349, allocations: 238.8 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.5351, allocations: 111.1 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.5352, allocations: 83.67 kB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001343/0.5354, allocations: 95.5 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.718e-05/0.5354, allocations: 24 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 4.205e-05/0.5355, allocations: 20 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.446e-05/0.5356, allocations: 87.61 kB / 1.021 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.5357, allocations: 151 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002689/0.536, allocations: 342.6 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.536, allocations: 0 / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.152e-06/0.536, allocations: 3.938 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.536, allocations: 0 / 1.022 GB, free: 14.11 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.0007563/0.5368, allocations: 0.6494 MB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.5368, allocations: 8.031 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.043e-05/0.5369, allocations: 50.73 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.5369, allocations: 40.47 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003279/0.5373, allocations: 306.1 kB / 1.023 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.5373, allocations: 8.375 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.5373, allocations: 16.38 kB / 1.023 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002579/0.5376, allocations: 145.9 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.5376, allocations: 3.938 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.5376, allocations: 4 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.5376, allocations: 7.938 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002237/0.5379, allocations: 87.95 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007284/0.5386, allocations: 0.5895 MB / 1.024 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002274/0.5388, allocations: 86.61 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.539, allocations: 52.89 kB / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.539, allocations: 0 / 1.024 GB, free: 11.9 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.981e-05/0.539, allocations: 34.5 kB / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.082e-06/0.539, allocations: 0 / 1.024 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0003389/0.5393, allocations: 149.2 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.5394, allocations: 51.41 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003447/0.5397, allocations: 393.9 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.5398, allocations: 29.7 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001316/0.5399, allocations: 216 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.5399, allocations: 35.55 kB / 1.025 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.54, allocations: 25.7 kB / 1.025 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.5401, allocations: 346.8 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.957e-05/0.5402, allocations: 27.98 kB / 1.025 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.939e-05/0.5403, allocations: 63.41 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.5404, allocations: 95.67 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5405, allocations: 0 / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002383/0.5407, allocations: 149.1 kB / 1.025 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.5407, allocations: 8.031 kB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/0.5407, allocations: 8 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.5408, allocations: 0 / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.5409, allocations: 27.92 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.5409, allocations: 0 / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.496e-05/0.541, allocations: 8 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.033e-05/0.541, allocations: 7.938 kB / 1.025 GB, free: 10.17 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.0001306/0.5411, allocations: 161.8 kB / 1.025 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.9e-05/0.5412, allocations: 39.53 kB / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.623e-05/0.5412, allocations: 39.2 kB / 1.026 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.5412, allocations: 4 kB / 1.026 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5413, allocations: 0 / 1.026 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.5413, allocations: 0 / 1.026 GB, free: 9.922 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002844/0.5416, allocations: 313.4 kB / 1.026 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5416, allocations: 0 / 1.026 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.5417, allocations: 23.92 kB / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.5417, allocations: 0 / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.5417, allocations: 0 / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.5417, allocations: 0 / 1.026 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5417, allocations: 4 kB / 1.026 GB, free: 9.539 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003314/0.5421, allocations: 263 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.623e-05/0.5421, allocations: 108.7 kB / 1.026 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.5422, allocations: 8 kB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.683e-05/0.5423, allocations: 3.984 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.698e-05/0.5423, allocations: 7.984 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.5423, allocations: 4.062 kB / 1.026 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002496/0.5426, allocations: 287.1 kB / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5426, allocations: 0 / 1.026 GB, free: 8.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002721/0.5429, allocations: 43.84 kB / 1.027 GB, free: 8.797 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.0005517/0.5434, allocations: 0.7864 MB / 1.027 GB, free: 7.98 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002046/0.5436, allocations: 79.84 kB / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.5437, allocations: 0 / 1.027 GB, free: 7.902 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.738e-05/0.5437, allocations: 35.92 kB / 1.027 GB, free: 7.867 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.5441, allocations: 26.75 kB / 1.027 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002789/0.5469, allocations: 2.73 MB / 1.03 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003096/0.5472, allocations: 0.7942 MB / 1.031 GB, free: 4.188 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 7.528e-05/0.5473, allocations: 20.62 kB / 1.031 GB, free: 4.168 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000109/0.5474, allocations: 99.39 kB / 1.031 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5474, allocations: 7.938 kB / 1.031 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2503/0.7977, allocations: 4.86 MB / 1.036 GB, free: 15.34 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/8.466, allocations: 5.359 kB / 1.036 GB, free: 15.34 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