Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.EnergyConversionWarmUp,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",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.005157/0.005157, allocations: 99.61 kB / 15.73 MB, free: 6.031 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.001388/0.001388, allocations: 194.1 kB / 16.67 MB, free: 5.953 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.23/1.23, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.4/2.4, allocations: 469.8 MB / 0.7425 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 71.86 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5829/0.5846, allocations: 159.1 MB / 1.22 GB, free: 2.043 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.0035/0.5881, allocations: 2.75 MB / 1.223 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.5895, allocations: 1.084 MB / 1.224 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.5896, allocations: 8 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004887/0.5901, allocations: 202.7 kB / 1.224 GB, free: 13.99 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001488/0.5903, allocations: 87.25 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.5907, allocations: 183.7 kB / 1.224 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.000385/0.5911, allocations: 411.7 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002828/0.5914, allocations: 205.8 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001466/0.5915, allocations: 151.3 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.5917, allocations: 183 kB / 1.225 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 5.419e-05/0.5918, allocations: 44 kB / 1.225 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002801/0.592, allocations: 167.8 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.5923, allocations: 267.1 kB / 1.226 GB, free: 12.31 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002558/0.5925, allocations: 349.6 kB / 1.226 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008632/0.5934, allocations: 0.9678 MB / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.5934, allocations: 0 / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.463e-06/0.5934, allocations: 0 / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 9.888e-06/0.5934, allocations: 0 / 1.227 GB, free: 11 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001332/0.5948, allocations: 1.169 MB / 1.228 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.5948, allocations: 12.03 kB / 1.228 GB, free: 9.762 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.475e-05/0.5949, allocations: 62.72 kB / 1.228 GB, free: 9.691 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001176/0.596, allocations: 248 kB / 1.228 GB, free: 9.449 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/0.5973, allocations: 0.7276 MB / 1.229 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.5973, allocations: 29.03 kB / 1.229 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.5973, allocations: 28.38 kB / 1.229 GB, free: 8.613 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007561/0.5981, allocations: 390.3 kB / 1.23 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.5981, allocations: 3.938 kB / 1.23 GB, free: 8.223 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.5982, allocations: 15.94 kB / 1.23 GB, free: 8.207 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.5982, allocations: 12 kB / 1.23 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009519/0.5991, allocations: 418.4 kB / 1.23 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002719/0.6019, allocations: 1.783 MB / 1.232 GB, free: 5.91 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006091/0.6025, allocations: 218.6 kB / 1.232 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.6028, allocations: 96.81 kB / 1.232 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.6028, allocations: 8 kB / 1.232 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.043e-05/0.6028, allocations: 34.56 kB / 1.232 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=20): time 1.112e-06/0.6028, allocations: 0 / 1.232 GB, free: 5.539 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20): time 0.001001/0.6039, allocations: 379.2 kB / 1.232 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.6039, allocations: 55.41 kB / 1.233 GB, free: 5.098 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.6052, allocations: 1.239 MB / 1.234 GB, free: 3.836 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.317e-05/0.6053, allocations: 41.62 kB / 1.234 GB, free: 3.789 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.6056, allocations: 436.4 kB / 1.234 GB, free: 3.359 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.651e-05/0.6057, allocations: 71.72 kB / 1.234 GB, free: 3.289 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.907e-05/0.6058, allocations: 53.66 kB / 1.234 GB, free: 3.23 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.6059, allocations: 318 kB / 1.235 GB, free: 2.914 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003395/0.6063, allocations: 147.9 kB / 1.235 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/0.6066, allocations: 197.9 kB / 1.235 GB, free: 2.555 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006271/0.6073, allocations: 283.9 kB / 1.235 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.6073, allocations: 0 / 1.235 GB, free: 2.262 MB / 0.9512 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008525/0.6081, allocations: 468.7 kB / 1.236 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.6082, allocations: 8 kB / 1.236 GB, free: 1.789 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.6082, allocations: 3.938 kB / 1.236 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.6082, allocations: 4 kB / 1.236 GB, free: 1.781 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002952/0.6085, allocations: 60.06 kB / 1.236 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.946e-06/0.6085, allocations: 7.984 kB / 1.236 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.6087, allocations: 35.75 kB / 1.236 GB, free: 1.68 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.202e-05/0.6088, allocations: 12 kB / 1.236 GB, free: 1.668 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002687/0.609, allocations: 269.7 kB / 1.236 GB, free: 1.395 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.6092, allocations: 91.44 kB / 1.236 GB, free: 1.305 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007994/0.61, allocations: 325.7 kB / 1.236 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.61, allocations: 3.938 kB / 1.236 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.61, allocations: 0 / 1.236 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.61, allocations: 7.984 kB / 1.236 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001544/0.6115, allocations: 0.9998 MB / 1.237 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.227e-06/0.6116, allocations: 0 / 1.237 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.6118, allocations: 51.89 kB / 1.237 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.6118, allocations: 4 kB / 1.237 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.6118, allocations: 4 kB / 1.237 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.6118, allocations: 4 kB / 1.237 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.6119, allocations: 3.938 kB / 1.237 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007513/0.6126, allocations: 450.2 kB / 1.238 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002118/0.6128, allocations: 204.5 kB / 1.238 GB, free: 15.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.59e-05/0.6129, allocations: 11.98 kB / 1.238 GB, free: 15.12 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002573/0.6132, allocations: 19.98 kB / 1.238 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.6132, allocations: 19.86 kB / 1.238 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.19e-05/0.6133, allocations: 12 kB / 1.238 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0009898/0.6142, allocations: 0.9028 MB / 1.239 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/0.6143, allocations: 0 / 1.239 GB, free: 14.16 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003563/0.6146, allocations: 103.8 kB / 1.239 GB, free: 14.06 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.00111/0.6157, allocations: 0.9848 MB / 1.24 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0006905/0.6164, allocations: 282 kB / 1.24 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.6164, allocations: 4.312 kB / 1.24 GB, free: 12.75 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003106/0.6168, allocations: 107.8 kB / 1.241 GB, free: 12.65 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004007/0.6172, allocations: 66 kB / 1.241 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009024/0.6262, allocations: 7.261 MB / 1.248 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000592/0.6268, allocations: 0.9946 MB / 1.249 GB, free: 4.105 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002674/0.6271, allocations: 100.6 kB / 1.249 GB, free: 4.004 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003541/0.6274, allocations: 295.3 kB / 1.249 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.6274, allocations: 0 / 1.249 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.061/6.689, allocations: 13.7 MB / 1.262 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.71/19.4, allocations: 24.77 kB / 1.262 GB, free: 6.191 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches