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.001661/0.001661, 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.001585/0.001585, allocations: 198.3 kB / 16.54 MB, free: 6.672 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.284/1.284, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.222/2.222, allocations: 390.3 MB / 0.6647 GB, free: 264 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 63.91 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6274/0.6296, allocations: 140.4 MB / 0.9497 GB, free: 9.09 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003719/0.6334, allocations: 2.441 MB / 0.9521 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0006906/0.6341, allocations: 0.5342 MB / 0.9526 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.853e-05/0.6342, allocations: 3.594 kB / 0.9526 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003737/0.6345, allocations: 127 kB / 0.9528 GB, free: 6.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.6347, allocations: 93.45 kB / 0.9528 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001119/0.6348, allocations: 41.09 kB / 0.9529 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002613/0.6351, allocations: 239.6 kB / 0.9531 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002757/0.6354, allocations: 118.1 kB / 0.9532 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001564/0.6355, allocations: 87.56 kB / 0.9533 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.6357, allocations: 98.44 kB / 0.9534 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.399e-05/0.6358, allocations: 18.19 kB / 0.9534 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.121e-05/0.6359, allocations: 19.72 kB / 0.9534 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.636, allocations: 79.84 kB / 0.9535 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.6361, allocations: 150.6 kB / 0.9537 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003874/0.6365, allocations: 345.5 kB / 0.954 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.6366, allocations: 0 / 0.954 GB, free: 5.801 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.345e-06/0.6366, allocations: 4 kB / 0.954 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.6366, allocations: 1.375 kB / 0.954 GB, free: 5.797 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.0008105/0.6374, allocations: 0.6368 MB / 0.9546 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.6374, allocations: 11.06 kB / 0.9546 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.349e-05/0.6375, allocations: 51.42 kB / 0.9547 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.815e-05/0.6376, allocations: 44.22 kB / 0.9547 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.6379, allocations: 311.2 kB / 0.955 GB, free: 4.832 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.6379, allocations: 9.844 kB / 0.955 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.459e-05/0.6379, allocations: 18.31 kB / 0.955 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.6382, allocations: 140.9 kB / 0.9552 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.6382, allocations: 3.938 kB / 0.9552 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/0.6382, allocations: 10.86 kB / 0.9552 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.6382, allocations: 2.719 kB / 0.9552 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002077/0.6384, allocations: 93.11 kB / 0.9553 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006819/0.6391, allocations: 0.5849 MB / 0.9558 GB, free: 4.164 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.6394, allocations: 90.5 kB / 0.9559 GB, free: 4.105 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.758e-05/0.6395, allocations: 47.42 kB / 0.956 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.429e-05/0.6395, allocations: 2 kB / 0.956 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.469e-05/0.6395, allocations: 39.53 kB / 0.956 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.242e-06/0.6395, allocations: 0 / 0.956 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0003258/0.6398, allocations: 150 kB / 0.9562 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.6399, allocations: 52.59 kB / 0.9562 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003377/0.6402, allocations: 386.3 kB / 0.9566 GB, free: 3.641 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.6402, allocations: 33.69 kB / 0.9566 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.6403, allocations: 218.4 kB / 0.9568 GB, free: 3.406 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.341e-05/0.6404, allocations: 31.55 kB / 0.9569 GB, free: 3.379 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.6404, allocations: 26.22 kB / 0.9569 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.299e-05/0.6405, allocations: 356.1 kB / 0.9572 GB, free: 3.008 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.645e-05/0.6406, allocations: 26.02 kB / 0.9572 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.831e-05/0.6407, allocations: 53.45 kB / 0.9573 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.6408, allocations: 93.83 kB / 0.9574 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.6408, allocations: 0 / 0.9574 GB, free: 2.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002189/0.6411, allocations: 142 kB / 0.9575 GB, free: 2.793 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.6411, allocations: 13.42 kB / 0.9575 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.6411, allocations: 1.375 kB / 0.9575 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.6411, allocations: 1.375 kB / 0.9575 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.6412, allocations: 20.62 kB / 0.9576 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.6413, allocations: 5.359 kB / 0.9576 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.54e-05/0.6413, allocations: 14.83 kB / 0.9576 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.6413, allocations: 8.531 kB / 0.9576 GB, free: 2.766 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.0001127/0.6415, allocations: 163.9 kB / 0.9577 GB, free: 2.621 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.6415, allocations: 34.66 kB / 0.9578 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.628e-05/0.6416, allocations: 42.33 kB / 0.9578 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.6416, allocations: 5.312 kB / 0.9578 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.6416, allocations: 3.938 kB / 0.9578 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6416, allocations: 0 / 0.9578 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002617/0.6419, allocations: 314.1 kB / 0.9581 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.6419, allocations: 4 kB / 0.9581 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.642, allocations: 23.11 kB / 0.9581 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.642, allocations: 1.375 kB / 0.9581 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.642, allocations: 0 / 0.9581 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.642, allocations: 1.375 kB / 0.9581 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.642, allocations: 0 / 0.9581 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.6423, allocations: 257.9 kB / 0.9584 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 6.589e-05/0.6424, allocations: 114 kB / 0.9585 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.015e-05/0.6425, allocations: 0.9688 kB / 0.9585 GB, free: 1.938 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.624e-05/0.6426, allocations: 5.672 kB / 0.9585 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.6426, allocations: 3.812 kB / 0.9585 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.6426, allocations: 4.906 kB / 0.9585 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002505/0.6429, allocations: 281.8 kB / 0.9588 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.232e-06/0.6429, allocations: 0 / 0.9588 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002796/0.6432, allocations: 51.22 kB / 0.9588 GB, free: 1.738 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.0004849/0.6437, allocations: 0.783 MB / 0.9596 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002143/0.6439, allocations: 82.31 kB / 0.9597 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6439, allocations: 0 / 0.9597 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.661e-05/0.644, allocations: 36.61 kB / 0.9597 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/0.6443, allocations: 33.95 kB / 0.9597 GB, free: 0.9375 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002656/0.647, allocations: 2.725 MB / 0.9624 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003188/0.6473, allocations: 0.7995 MB / 0.9632 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.602e-05/0.6474, allocations: 14.52 kB / 0.9632 GB, free: 14.13 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.6475, allocations: 97.44 kB / 0.9633 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of SimCode: time 2.61e-07/0.6475, allocations: 0 / 0.9633 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.451/1.099, allocations: 4.856 MB / 0.968 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.67/15.77, allocations: 16.98 kB / 0.9681 GB, free: 11.52 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