Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature,fileNamePrefix="Buildings_11_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.002005/0.002005, allocations: 108 kB / 15.61 MB, free: 152 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.002284/0.002284, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.563/2.563, allocations: 469.8 MB / 0.7424 GB, free: 7.391 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002578/0.002578, allocations: 73.02 kB / 0.9087 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2489/0.2515, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature): time 0.003582/0.2551, allocations: 2.443 MB / 1.066 GB, free: 11.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008073/0.256, allocations: 0.5354 MB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.067e-05/0.2561, allocations: 3.938 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003432/0.2564, allocations: 131.9 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.2566, allocations: 91.28 kB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001082/0.2567, allocations: 47.88 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002411/0.257, allocations: 242.7 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.2572, allocations: 115 kB / 1.068 GB, free: 10.59 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.2573, allocations: 75.73 kB / 1.068 GB, free: 10.52 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.2574, allocations: 99.5 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.942e-05/0.2575, allocations: 20 kB / 1.068 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.726e-05/0.2575, allocations: 16 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.016e-05/0.2576, allocations: 83.69 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001407/0.2577, allocations: 158.9 kB / 1.068 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.258, allocations: 334.7 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.258, allocations: 4 kB / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2581, allocations: 0 / 1.068 GB, free: 9.816 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.2581, allocations: 0 / 1.068 GB, free: 9.816 MB / 0.8262 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.0007869/0.2589, allocations: 0.6417 MB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.2589, allocations: 12.03 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.99e-05/0.2589, allocations: 46.73 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.92e-05/0.259, allocations: 48.38 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.2594, allocations: 302.2 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.2594, allocations: 12.38 kB / 1.069 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.031e-05/0.2594, allocations: 12.38 kB / 1.069 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.2597, allocations: 141.9 kB / 1.07 GB, free: 8.508 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.2597, allocations: 3.938 kB / 1.07 GB, free: 8.504 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.2597, allocations: 8 kB / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.2597, allocations: 0 / 1.07 GB, free: 8.496 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.2599, allocations: 99.89 kB / 1.07 GB, free: 8.398 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007687/0.2607, allocations: 0.6012 MB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002105/0.2609, allocations: 82.56 kB / 1.07 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.899e-05/0.2611, allocations: 44.95 kB / 1.07 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.536e-06/0.2611, allocations: 0 / 1.07 GB, free: 7.609 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.2611, allocations: 38.55 kB / 1.07 GB, free: 7.562 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 8.52e-07/0.2611, allocations: 4 kB / 1.07 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0003286/0.2614, allocations: 149.4 kB / 1.071 GB, free: 7.406 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/0.2615, allocations: 51.41 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000381/0.2619, allocations: 393.9 kB / 1.071 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.2619, allocations: 29.7 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.2621, allocations: 220 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.221e-05/0.2621, allocations: 27.56 kB / 1.071 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.052e-05/0.2621, allocations: 33.61 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.2623, allocations: 358.7 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.321e-05/0.2624, allocations: 20 kB / 1.072 GB, free: 6.258 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.503e-05/0.2625, allocations: 55.41 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.2626, allocations: 95.36 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2627, allocations: 0 / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002336/0.2629, allocations: 141.2 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.2629, allocations: 8 kB / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2629, allocations: 0 / 1.072 GB, free: 5.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2629, allocations: 4 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001085/0.2631, allocations: 19.98 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.2631, allocations: 8.094 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.405e-05/0.2631, allocations: 19.78 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-06/0.2632, allocations: 7.938 kB / 1.072 GB, free: 5.875 MB / 0.8262 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.0001394/0.2633, allocations: 157.8 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.2634, allocations: 35.61 kB / 1.072 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.815e-05/0.2634, allocations: 39.22 kB / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2634, allocations: 0 / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.2634, allocations: 0 / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.2634, allocations: 0 / 1.072 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.2638, allocations: 313.6 kB / 1.072 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.2638, allocations: 0 / 1.072 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.2639, allocations: 23.92 kB / 1.072 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.2639, allocations: 0 / 1.072 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.2639, allocations: 4 kB / 1.073 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.896e-06/0.2639, allocations: 7.938 kB / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.2639, allocations: 0 / 1.073 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003304/0.2642, allocations: 255 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 8.327e-05/0.2643, allocations: 112.6 kB / 1.073 GB, free: 4.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.2644, allocations: 4 kB / 1.073 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.611e-05/0.2645, allocations: 4 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.2645, allocations: 4 kB / 1.073 GB, free: 4.832 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.2645, allocations: 4 kB / 1.073 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.000263/0.2648, allocations: 283.1 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2648, allocations: 0 / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000248/0.265, allocations: 47.84 kB / 1.073 GB, free: 4.504 MB / 0.8262 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.0006188/0.2657, allocations: 0.7907 MB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002075/0.2659, allocations: 83.97 kB / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.2659, allocations: 192 / 1.074 GB, free: 3.605 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 7.825e-05/0.266, allocations: 40.17 kB / 1.074 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.2663, allocations: 31.25 kB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002906/0.2692, allocations: 2.73 MB / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004029/0.2696, allocations: 0.7981 MB / 1.078 GB, free: 15.88 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.836e-05/0.2697, allocations: 16.62 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.2698, allocations: 103.4 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of SimCode: time 1.9e-07/0.2698, allocations: 0 / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.427/1.696, allocations: 4.864 MB / 1.082 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.649/10.35, allocations: 9 kB / 1.082 GB, free: 11.02 MB / 0.8419 GB (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature_fmu --startTime=0 --stopTime=1500 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EngineTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EngineTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches