Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,fileNamePrefix="Buildings_10_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.001432/0.001432, 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.001696/0.001696, 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.273/1.273, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.341/2.341, allocations: 437 MB / 0.7099 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63.91 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.474/0.4754, allocations: 151.6 MB / 1.017 GB, free: 2.785 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003422/0.4788, allocations: 2.779 MB / 1.019 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.4802, allocations: 1.074 MB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001269/0.4803, allocations: 4 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005301/0.4809, allocations: 205.1 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.481, allocations: 63.5 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003327/0.4814, allocations: 147.8 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003376/0.4817, allocations: 379.8 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002673/0.482, allocations: 209.7 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.4821, allocations: 127.3 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001532/0.4823, allocations: 179 kB / 1.022 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.198e-05/0.4823, allocations: 28 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.4826, allocations: 151.8 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.000174/0.4828, allocations: 251.1 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.000221/0.483, allocations: 325.7 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006729/0.4837, allocations: 0.9145 MB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.4837, allocations: 3.938 kB / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.51e-07/0.4837, allocations: 0 / 1.023 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.4837, allocations: 0 / 1.023 GB, free: 11.96 MB / 0.7794 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.001261/0.485, allocations: 1.131 MB / 1.024 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.485, allocations: 8.031 kB / 1.024 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.022e-05/0.4851, allocations: 66.72 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.4864, allocations: 239.4 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001199/0.4876, allocations: 0.7267 MB / 1.025 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.4876, allocations: 25.03 kB / 1.025 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.408e-05/0.4876, allocations: 28.38 kB / 1.026 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007551/0.4884, allocations: 394.2 kB / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.4884, allocations: 0 / 1.026 GB, free: 9.227 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.4885, allocations: 16 kB / 1.026 GB, free: 9.211 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.4885, allocations: 4 kB / 1.026 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009445/0.4894, allocations: 418.4 kB / 1.026 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002637/0.4921, allocations: 1.776 MB / 1.028 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006217/0.4927, allocations: 218.6 kB / 1.028 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002869/0.493, allocations: 100.8 kB / 1.028 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.833e-05/0.493, allocations: 4 kB / 1.028 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.4931, allocations: 34.55 kB / 1.028 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.243e-06/0.4931, allocations: 4 kB / 1.028 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.0009795/0.4941, allocations: 378.2 kB / 1.029 GB, free: 6.184 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.376e-05/0.4941, allocations: 51.41 kB / 1.029 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.4954, allocations: 1.247 MB / 1.03 GB, free: 4.852 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.479e-05/0.4954, allocations: 29.7 kB / 1.03 GB, free: 4.816 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/0.4957, allocations: 432.1 kB / 1.03 GB, free: 4.387 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.587e-05/0.4958, allocations: 67.31 kB / 1.031 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.544e-05/0.4959, allocations: 49.7 kB / 1.031 GB, free: 4.266 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.012e-05/0.496, allocations: 318 kB / 1.031 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/0.4963, allocations: 143.9 kB / 1.031 GB, free: 3.809 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.4966, allocations: 205.8 kB / 1.031 GB, free: 3.586 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005891/0.4972, allocations: 286.8 kB / 1.031 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4973, allocations: 0 / 1.031 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000824/0.4981, allocations: 469.9 kB / 1.032 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.4981, allocations: 11.88 kB / 1.032 GB, free: 2.812 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4981, allocations: 7.938 kB / 1.032 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.4981, allocations: 4 kB / 1.032 GB, free: 2.801 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003081/0.4984, allocations: 55.97 kB / 1.032 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.511e-05/0.4985, allocations: 11.92 kB / 1.032 GB, free: 2.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/0.4987, allocations: 31.67 kB / 1.032 GB, free: 2.703 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.074e-05/0.4988, allocations: 12 kB / 1.032 GB, free: 2.691 MB / 0.7794 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.0002622/0.499, allocations: 270.2 kB / 1.032 GB, free: 2.418 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.856e-05/0.4991, allocations: 94.75 kB / 1.032 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007776/0.4999, allocations: 317.8 kB / 1.033 GB, free: 2.004 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.4999, allocations: 4 kB / 1.033 GB, free: 2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.656e-06/0.4999, allocations: 4 kB / 1.033 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.4999, allocations: 3.984 kB / 1.033 GB, free: 1.992 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.5015, allocations: 0.9996 MB / 1.034 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.5015, allocations: 4 kB / 1.034 GB, free: 0.9141 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.5017, allocations: 52.14 kB / 1.034 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.5018, allocations: 0 / 1.034 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.5018, allocations: 4 kB / 1.034 GB, free: 0.8594 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.5018, allocations: 7.938 kB / 1.034 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.5018, allocations: 0 / 1.034 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007067/0.5025, allocations: 450.1 kB / 1.034 GB, free: 388 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002016/0.5027, allocations: 199.9 kB / 1.034 GB, free: 168 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.795e-05/0.5028, allocations: 11.98 kB / 1.034 GB, free: 156 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.5031, allocations: 15.98 kB / 1.034 GB, free: 140 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.126e-05/0.5031, allocations: 23.92 kB / 1.034 GB, free: 116 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.938e-05/0.5032, allocations: 11.98 kB / 1.034 GB, free: 104 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009515/0.5041, allocations: 0.899 MB / 1.035 GB, free: 15.19 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5041, allocations: 0 / 1.035 GB, free: 15.19 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000395/0.5045, allocations: 107.8 kB / 1.035 GB, free: 15.08 MB / 0.795 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.001047/0.5056, allocations: 0.9834 MB / 1.036 GB, free: 14.05 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006378/0.5062, allocations: 267.8 kB / 1.037 GB, free: 13.79 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5062, allocations: 4 kB / 1.037 GB, free: 13.79 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002978/0.5065, allocations: 112.1 kB / 1.037 GB, free: 13.68 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.507, allocations: 71.36 kB / 1.037 GB, free: 13.61 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/0.5172, allocations: 7.812 MB / 1.044 GB, free: 5.539 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000525/0.5178, allocations: 0.988 MB / 1.045 GB, free: 4.527 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003348/0.5181, allocations: 96.66 kB / 1.046 GB, free: 4.434 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003346/0.5184, allocations: 295.3 kB / 1.046 GB, free: 4.148 MB / 0.795 GB Notification: Performance of SimCode: time 3.1e-07/0.5185, allocations: 4 kB / 1.046 GB, free: 4.145 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4375/0.9559, allocations: 13.15 MB / 1.059 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001974/0.9562, allocations: 218.2 kB / 1.059 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.846/2.802, allocations: 4 kB / 1.059 GB, free: 6.949 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp_fmu --startTime=0 --stopTime=1500 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.fmu > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches