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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001515/0.001515, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001687/0.001686, allocations: 197.1 kB / 16.26 MB, free: 6.625 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 / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.299/2.299, allocations: 390.2 MB / 0.6644 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 63.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5412/0.5425, allocations: 140.4 MB / 0.9492 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002843/0.5454, allocations: 2.494 MB / 0.9517 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0005668/0.546, allocations: 0.5238 MB / 0.9522 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.926e-05/0.5461, allocations: 3.062 kB / 0.9522 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.5464, allocations: 123 kB / 0.9523 GB, free: 6.598 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000119/0.5465, allocations: 85.27 kB / 0.9524 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 9.069e-05/0.5466, allocations: 33.23 kB / 0.9524 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001892/0.5468, allocations: 244.2 kB / 0.9527 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.547, allocations: 109.6 kB / 0.9528 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.286e-05/0.5471, allocations: 83.31 kB / 0.9528 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.5472, allocations: 106.3 kB / 0.9529 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.5472, allocations: 19 kB / 0.953 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.965e-05/0.5473, allocations: 19.47 kB / 0.953 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.232e-05/0.5474, allocations: 92.08 kB / 0.9531 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.136e-05/0.5475, allocations: 146.7 kB / 0.9532 GB, free: 6.016 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002205/0.5477, allocations: 341.5 kB / 0.9535 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.5477, allocations: 0 / 0.9535 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.192e-06/0.5477, allocations: 0 / 0.9535 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.5477, allocations: 1.531 kB / 0.9535 GB, free: 5.77 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.0006093/0.5483, allocations: 0.6369 MB / 0.9541 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.173e-05/0.5484, allocations: 13.34 kB / 0.9542 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.598e-05/0.5484, allocations: 51.98 kB / 0.9542 GB, free: 5.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.913e-05/0.5485, allocations: 44.94 kB / 0.9543 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.5487, allocations: 302.8 kB / 0.9545 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.5488, allocations: 14.75 kB / 0.9546 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.5488, allocations: 21.75 kB / 0.9546 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002376/0.549, allocations: 137 kB / 0.9547 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.549, allocations: 5.094 kB / 0.9547 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.5491, allocations: 9 kB / 0.9547 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-06/0.5491, allocations: 4 kB / 0.9547 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002081/0.5493, allocations: 96.31 kB / 0.9548 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006167/0.5499, allocations: 0.5855 MB / 0.9554 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002073/0.5501, allocations: 90.27 kB / 0.9555 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.412e-05/0.5502, allocations: 42.59 kB / 0.9555 GB, free: 4.051 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.5503, allocations: 6.062 kB / 0.9555 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.084e-05/0.5503, allocations: 39.59 kB / 0.9556 GB, free: 4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.332e-06/0.5503, allocations: 3.938 kB / 0.9556 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0002942/0.5506, allocations: 138.1 kB / 0.9557 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.191e-05/0.5506, allocations: 58.38 kB / 0.9558 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.5509, allocations: 384.1 kB / 0.9561 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.5509, allocations: 30.86 kB / 0.9561 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 9.577e-05/0.551, allocations: 221.6 kB / 0.9564 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-05/0.5511, allocations: 35.23 kB / 0.9564 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.044e-05/0.5511, allocations: 26.09 kB / 0.9564 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.622e-05/0.5512, allocations: 357.1 kB / 0.9568 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.321e-05/0.5513, allocations: 25.42 kB / 0.9568 GB, free: 2.965 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.695e-05/0.5513, allocations: 53.33 kB / 0.9568 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.5515, allocations: 89.64 kB / 0.9569 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5515, allocations: 0 / 0.9569 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002154/0.5517, allocations: 147 kB / 0.9571 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.5517, allocations: 4.719 kB / 0.9571 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.5517, allocations: 1.344 kB / 0.9571 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.5517, allocations: 5.781 kB / 0.9571 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001161/0.5519, allocations: 31.98 kB / 0.9571 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.159e-06/0.5519, allocations: 1.531 kB / 0.9571 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.012e-05/0.552, allocations: 9.672 kB / 0.9571 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.552, allocations: 8.156 kB / 0.9571 GB, free: 2.738 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.0001017/0.5521, allocations: 160.1 kB / 0.9573 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.5521, allocations: 42.19 kB / 0.9573 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.369e-05/0.5522, allocations: 46.3 kB / 0.9574 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.5522, allocations: 0 / 0.9574 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.5522, allocations: 1.688 kB / 0.9574 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5522, allocations: 0 / 0.9574 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.5525, allocations: 317.4 kB / 0.9577 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.5525, allocations: 4 kB / 0.9577 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.5526, allocations: 19.09 kB / 0.9577 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.5526, allocations: 5.516 kB / 0.9577 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/0.5526, allocations: 0 / 0.9577 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.5526, allocations: 1.438 kB / 0.9577 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.5526, allocations: 0 / 0.9577 GB, free: 2.23 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.5529, allocations: 261.2 kB / 0.9579 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.562e-05/0.553, allocations: 113.9 kB / 0.958 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.553, allocations: 1.344 kB / 0.958 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.5531, allocations: 6.641 kB / 0.9581 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.85e-05/0.5532, allocations: 6.469 kB / 0.9581 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.5532, allocations: 2.656 kB / 0.9581 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002095/0.5534, allocations: 286.1 kB / 0.9583 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5534, allocations: 0 / 0.9583 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002686/0.5537, allocations: 46.22 kB / 0.9584 GB, free: 1.707 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.0004316/0.5541, allocations: 0.7835 MB / 0.9591 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001911/0.5543, allocations: 82.56 kB / 0.9592 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.5543, allocations: 0 / 0.9592 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.381e-05/0.5544, allocations: 36.02 kB / 0.9593 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.5547, allocations: 26.89 kB / 0.9593 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.5574, allocations: 2.826 MB / 0.962 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.5578, allocations: 0.7982 MB / 0.9628 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.205e-05/0.5579, allocations: 15.02 kB / 0.9628 GB, free: 14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001089/0.558, allocations: 97.47 kB / 0.9629 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.558, allocations: 3.938 kB / 0.9629 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.5734, allocations: 4.743 MB / 0.9676 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001698/0.5736, allocations: 216.3 kB / 0.9678 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.277, allocations: 0 / 0.9678 GB, free: 11.28 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