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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001013/0.001013, allocations: 92 kB / 15.36 MB, free: 0.7383 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.007602/0.007602, allocations: 170.7 kB / 16.26 MB, free: 6.613 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.272/1.272, 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 9.1.2-maint.9.1.x/package.mo): time 2.226/2.226, allocations: 390.9 MB / 0.6664 GB, free: 2.383 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002959/0.0002959, allocations: 12 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5347/0.535, allocations: 142.4 MB / 0.9552 GB, free: 7.973 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.001989/0.537, allocations: 2.131 MB / 0.9573 GB, free: 6.289 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005397/0.5375, allocations: 0.5104 MB / 0.9577 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.813e-05/0.5376, allocations: 8.594 kB / 0.9578 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002912/0.5379, allocations: 126.9 kB / 0.9579 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.538, allocations: 77.73 kB / 0.958 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.238e-05/0.5381, allocations: 37.34 kB / 0.958 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001716/0.5383, allocations: 232.3 kB / 0.9582 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.5385, allocations: 100.4 kB / 0.9583 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.984e-05/0.5386, allocations: 74.05 kB / 0.9584 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.5387, allocations: 84.08 kB / 0.9585 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.5387, allocations: 8.125 kB / 0.9585 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.01e-05/0.5388, allocations: 13.09 kB / 0.9585 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.902e-05/0.5388, allocations: 68.12 kB / 0.9585 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.616e-05/0.5389, allocations: 170.3 kB / 0.9587 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002046/0.5392, allocations: 325.4 kB / 0.959 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.5392, allocations: 1.156 kB / 0.959 GB, free: 5 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.403e-06/0.5392, allocations: 0 / 0.959 GB, free: 5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.5392, allocations: 0 / 0.959 GB, free: 5 MB / 0.7169 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.0005782/0.5398, allocations: 0.5952 MB / 0.9596 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.5398, allocations: 9.5 kB / 0.9596 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.023e-05/0.5398, allocations: 51.73 kB / 0.9597 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.739e-05/0.5399, allocations: 44.19 kB / 0.9597 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002525/0.5402, allocations: 299.4 kB / 0.96 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.547e-05/0.5402, allocations: 11.25 kB / 0.96 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.675e-05/0.5402, allocations: 18 kB / 0.96 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.5405, allocations: 140.8 kB / 0.9601 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.5405, allocations: 3.938 kB / 0.9601 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.5405, allocations: 9.359 kB / 0.9602 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.291e-06/0.5405, allocations: 4.125 kB / 0.9602 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001961/0.5407, allocations: 93.45 kB / 0.9603 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.5413, allocations: 0.5844 MB / 0.9608 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.5415, allocations: 94.41 kB / 0.9609 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.281e-05/0.5416, allocations: 55.5 kB / 0.961 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.199e-05/0.5416, allocations: 1.188 kB / 0.961 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.106e-05/0.5417, allocations: 31.66 kB / 0.961 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.5417, allocations: 0 / 0.961 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003072/0.542, allocations: 145.8 kB / 0.9611 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.791e-05/0.542, allocations: 57.42 kB / 0.9612 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.5423, allocations: 385.2 kB / 0.9616 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.407e-06/0.5423, allocations: 30.61 kB / 0.9616 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.5425, allocations: 226.3 kB / 0.9618 GB, free: 2.645 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.5425, allocations: 31.58 kB / 0.9618 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.407e-05/0.5425, allocations: 20.66 kB / 0.9619 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.717e-05/0.5426, allocations: 352 kB / 0.9622 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.058e-05/0.5426, allocations: 26.52 kB / 0.9622 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.887e-05/0.5427, allocations: 58.14 kB / 0.9623 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.5429, allocations: 88.33 kB / 0.9624 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.5429, allocations: 1.312 kB / 0.9624 GB, free: 2.121 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002155/0.5431, allocations: 150.3 kB / 0.9625 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.5431, allocations: 5.344 kB / 0.9625 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.5431, allocations: 1.188 kB / 0.9625 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.5432, allocations: 1.156 kB / 0.9625 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.5433, allocations: 24.7 kB / 0.9625 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.5433, allocations: 1.031 kB / 0.9625 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.1e-05/0.5434, allocations: 13.33 kB / 0.9625 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-06/0.5434, allocations: 6.938 kB / 0.9625 GB, free: 2.012 MB / 0.7169 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.0001055/0.5435, allocations: 168.9 kB / 0.9627 GB, free: 1.863 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.366e-05/0.5436, allocations: 35.09 kB / 0.9627 GB, free: 1.844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.622e-05/0.5436, allocations: 40.92 kB / 0.9628 GB, free: 1.812 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5436, allocations: 5.938 kB / 0.9628 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.5436, allocations: 0 / 0.9628 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.5436, allocations: 0 / 0.9628 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00024/0.5439, allocations: 313.6 kB / 0.9631 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5439, allocations: 0 / 0.9631 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.544, allocations: 19.73 kB / 0.9631 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.544, allocations: 1.25 kB / 0.9631 GB, free: 1.516 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.544, allocations: 4 kB / 0.9631 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.544, allocations: 1.281 kB / 0.9631 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.544, allocations: 0 / 0.9631 GB, free: 1.512 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.5443, allocations: 257.8 kB / 0.9634 GB, free: 1.309 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.436e-05/0.5444, allocations: 114.2 kB / 0.9635 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.545e-05/0.5444, allocations: 0.7812 kB / 0.9635 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001002/0.5445, allocations: 6.984 kB / 0.9635 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.451e-05/0.5446, allocations: 11.06 kB / 0.9635 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.5446, allocations: 2.031 kB / 0.9635 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002158/0.5448, allocations: 281.2 kB / 0.9638 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5448, allocations: 0 / 0.9638 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002615/0.5451, allocations: 47.53 kB / 0.9638 GB, free: 0.9922 MB / 0.7169 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.0004174/0.5455, allocations: 0.7861 MB / 0.9646 GB, free: 272 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001747/0.5457, allocations: 74.12 kB / 0.9646 GB, free: 240 kB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.5457, allocations: 0 / 0.9646 GB, free: 240 kB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.327e-05/0.5458, allocations: 37.14 kB / 0.9647 GB, free: 224 kB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003309/0.5461, allocations: 26.61 kB / 0.9647 GB, free: 208 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/0.5489, allocations: 2.88 MB / 0.9675 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003218/0.5493, allocations: 0.7988 MB / 0.9683 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.795e-05/0.5493, allocations: 9.859 kB / 0.9683 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.5494, allocations: 101.3 kB / 0.9684 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of SimCode: time 2.6e-07/0.5495, allocations: 1.125 kB / 0.9684 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8877/1.437, allocations: 4.659 MB / 0.9729 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000243/1.437, allocations: 222.9 kB / 0.9732 GB, free: 10.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.768/3.205, allocations: 0 / 0.9732 GB, free: 10.67 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 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.mat","/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