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.001479/0.001479, 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.001683/0.001683, 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.373/1.373, 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 9.1.2-maint.9.1.x/package.mo): time 2.271/2.271, allocations: 390.2 MB / 0.6643 GB, free: 0.6523 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 59.91 kB / 0.812 GB, free: 14.79 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4856/0.4868, allocations: 140.4 MB / 0.9491 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.002657/0.4895, allocations: 2.488 MB / 0.9515 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000513/0.49, allocations: 0.5186 MB / 0.952 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.076e-05/0.4901, allocations: 3.031 kB / 0.952 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003148/0.4904, allocations: 118.2 kB / 0.9521 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001075/0.4906, allocations: 87.39 kB / 0.9522 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.087e-05/0.4906, allocations: 32.64 kB / 0.9522 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.4908, allocations: 233.2 kB / 0.9524 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.491, allocations: 104.3 kB / 0.9525 GB, free: 6.461 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.492e-05/0.4911, allocations: 79.34 kB / 0.9526 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001045/0.4912, allocations: 98.97 kB / 0.9527 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.16e-05/0.4912, allocations: 11.22 kB / 0.9527 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 3.775e-05/0.4913, allocations: 12.97 kB / 0.9527 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.963e-05/0.4913, allocations: 72.73 kB / 0.9528 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.471e-05/0.4914, allocations: 154 kB / 0.9529 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001913/0.4916, allocations: 333.1 kB / 0.9533 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.4916, allocations: 3.938 kB / 0.9533 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.42e-07/0.4916, allocations: 0 / 0.9533 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.4916, allocations: 5.406 kB / 0.9533 GB, free: 5.949 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.0005807/0.4922, allocations: 0.642 MB / 0.9539 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.209e-05/0.4923, allocations: 8.625 kB / 0.9539 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.286e-05/0.4923, allocations: 51.7 kB / 0.954 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.767e-05/0.4924, allocations: 48.28 kB / 0.954 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.4926, allocations: 298.9 kB / 0.9543 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.4926, allocations: 15.34 kB / 0.9543 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.4927, allocations: 21.58 kB / 0.9543 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.4929, allocations: 134.2 kB / 0.9545 GB, free: 4.883 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4929, allocations: 7.938 kB / 0.9545 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.433e-05/0.4929, allocations: 9.438 kB / 0.9545 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.4929, allocations: 4.125 kB / 0.9545 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.4931, allocations: 92.14 kB / 0.9546 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005766/0.4937, allocations: 0.5849 MB / 0.9551 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000205/0.4939, allocations: 90.88 kB / 0.9552 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.869e-05/0.494, allocations: 46.88 kB / 0.9553 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.4941, allocations: 1.656 kB / 0.9553 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.618e-06/0.4941, allocations: 30.56 kB / 0.9553 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.4941, allocations: 8.953 kB / 0.9553 GB, free: 4.184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0002843/0.4944, allocations: 142.3 kB / 0.9554 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.051e-05/0.4944, allocations: 52.59 kB / 0.9555 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.4947, allocations: 390.3 kB / 0.9559 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.015e-06/0.4947, allocations: 25.7 kB / 0.9559 GB, free: 3.766 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 8.54e-05/0.4948, allocations: 223.3 kB / 0.9561 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.756e-05/0.4948, allocations: 30.67 kB / 0.9561 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.4948, allocations: 29.66 kB / 0.9562 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.411e-05/0.4949, allocations: 360.7 kB / 0.9565 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.915e-05/0.495, allocations: 28.92 kB / 0.9565 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.096e-05/0.495, allocations: 54.27 kB / 0.9566 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001357/0.4952, allocations: 92.83 kB / 0.9567 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4952, allocations: 0.9062 kB / 0.9567 GB, free: 3.027 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002016/0.4954, allocations: 150.4 kB / 0.9568 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.4954, allocations: 5.5 kB / 0.9568 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.037e-06/0.4954, allocations: 1.375 kB / 0.9568 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/0.4954, allocations: 1.406 kB / 0.9568 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.4955, allocations: 23.92 kB / 0.9568 GB, free: 2.93 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4956, allocations: 5.188 kB / 0.9568 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.468e-05/0.4956, allocations: 9.578 kB / 0.9569 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.4957, allocations: 15.08 kB / 0.9569 GB, free: 2.91 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.0001008/0.4958, allocations: 159.9 kB / 0.957 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.18e-05/0.4958, allocations: 36.09 kB / 0.9571 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.4959, allocations: 38 kB / 0.9571 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.4959, allocations: 3.984 kB / 0.9571 GB, free: 2.719 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4959, allocations: 5.906 kB / 0.9571 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.4959, allocations: 0 / 0.9571 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.4961, allocations: 317.1 kB / 0.9574 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.4961, allocations: 0 / 0.9574 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.4962, allocations: 15.16 kB / 0.9574 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4962, allocations: 1.594 kB / 0.9574 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.809e-06/0.4963, allocations: 3.984 kB / 0.9574 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.4963, allocations: 1.281 kB / 0.9574 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.4963, allocations: 0 / 0.9574 GB, free: 2.418 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.4965, allocations: 257.8 kB / 0.9577 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.192e-05/0.4966, allocations: 117.4 kB / 0.9578 GB, free: 2.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.4966, allocations: 5.656 kB / 0.9578 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.796e-05/0.4967, allocations: 9.75 kB / 0.9578 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.4968, allocations: 7.547 kB / 0.9578 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.4968, allocations: 1.938 kB / 0.9578 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001977/0.497, allocations: 282 kB / 0.9581 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.497, allocations: 64 / 0.9581 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002485/0.4972, allocations: 50.22 kB / 0.9581 GB, free: 1.887 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.000392/0.4976, allocations: 0.7798 MB / 0.9589 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001712/0.4978, allocations: 78.34 kB / 0.959 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.4978, allocations: 4 kB / 0.959 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 6.699e-05/0.4979, allocations: 36.3 kB / 0.959 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.4982, allocations: 25.78 kB / 0.959 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0025/0.5007, allocations: 2.824 MB / 0.9618 GB, free: 14.94 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.501, allocations: 0.7949 MB / 0.9626 GB, free: 14.19 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.033e-05/0.5011, allocations: 14.7 kB / 0.9626 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.5012, allocations: 98.16 kB / 0.9627 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of SimCode: time 2.21e-07/0.5012, allocations: 0 / 0.9627 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.436/1.937, allocations: 4.68 MB / 0.9672 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002215/1.937, allocations: 214.4 kB / 0.9674 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.905/3.843, allocations: 3.703 kB / 0.9674 GB, free: 11.49 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