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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001409/0.001409, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001552/0.001552, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.222/1.222, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.293/2.293, allocations: 437 MB / 0.7101 GB, free: 5.281 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 63.91 kB / 0.8689 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5532/0.5545, allocations: 151.6 MB / 1.017 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.00374/0.5583, allocations: 2.781 MB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00138/0.5597, allocations: 1.054 MB / 1.021 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001103/0.5598, allocations: 7.938 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004794/0.5603, allocations: 193.2 kB / 1.021 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.000143/0.5605, allocations: 63.56 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.5608, allocations: 163.8 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003216/0.5611, allocations: 407.8 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002577/0.5614, allocations: 209.8 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.5615, allocations: 155.2 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.5617, allocations: 191 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.678e-05/0.5617, allocations: 40 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.562, allocations: 167.8 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.5622, allocations: 259.2 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.5624, allocations: 361.6 kB / 1.023 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006441/0.563, allocations: 0.9379 MB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.563, allocations: 3.938 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.172e-06/0.563, allocations: 0 / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.5631, allocations: 0 / 1.024 GB, free: 11.7 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.001164/0.5642, allocations: 1.131 MB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.5643, allocations: 12.03 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.876e-05/0.5643, allocations: 66.72 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001199/0.5655, allocations: 239.4 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/0.5667, allocations: 0.7228 MB / 1.026 GB, free: 9.41 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.106e-05/0.5667, allocations: 21.03 kB / 1.026 GB, free: 9.391 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.184e-05/0.5668, allocations: 32.38 kB / 1.026 GB, free: 9.359 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007322/0.5675, allocations: 390.2 kB / 1.026 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.5675, allocations: 4 kB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.772e-05/0.5675, allocations: 12 kB / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.168e-06/0.5676, allocations: 8 kB / 1.026 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000903/0.5685, allocations: 418.4 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002716/0.5712, allocations: 1.775 MB / 1.028 GB, free: 6.672 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006093/0.5718, allocations: 218.5 kB / 1.029 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002819/0.5721, allocations: 100.8 kB / 1.029 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.454e-05/0.5721, allocations: 11.98 kB / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.324e-05/0.5722, allocations: 34.56 kB / 1.029 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 1.774e-06/0.5722, allocations: 0 / 1.029 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.001012/0.5732, allocations: 377.7 kB / 1.029 GB, free: 5.918 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.5732, allocations: 59.34 kB / 1.029 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/0.5745, allocations: 1.239 MB / 1.03 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.5746, allocations: 33.7 kB / 1.03 GB, free: 4.547 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/0.5749, allocations: 432.4 kB / 1.031 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.689e-05/0.5749, allocations: 67.02 kB / 1.031 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.941e-05/0.575, allocations: 53.69 kB / 1.031 GB, free: 3.992 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.716e-05/0.5751, allocations: 322 kB / 1.031 GB, free: 3.672 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003205/0.5755, allocations: 143.9 kB / 1.031 GB, free: 3.531 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003427/0.5758, allocations: 201.8 kB / 1.032 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005984/0.5764, allocations: 283 kB / 1.032 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.5764, allocations: 0 / 1.032 GB, free: 3.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008315/0.5773, allocations: 465.9 kB / 1.032 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.5773, allocations: 11.98 kB / 1.032 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.5773, allocations: 3.938 kB / 1.032 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.5773, allocations: 7.938 kB / 1.032 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003145/0.5776, allocations: 47.97 kB / 1.032 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.5777, allocations: 7.938 kB / 1.032 GB, free: 2.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002626/0.5779, allocations: 39.67 kB / 1.032 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.578, allocations: 15.98 kB / 1.032 GB, free: 2.426 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.0002624/0.5782, allocations: 266.3 kB / 1.033 GB, free: 2.156 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.566e-05/0.5783, allocations: 86.91 kB / 1.033 GB, free: 2.07 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007797/0.5791, allocations: 331.9 kB / 1.033 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.5791, allocations: 0 / 1.033 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.5791, allocations: 3.938 kB / 1.033 GB, free: 1.734 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.5791, allocations: 7.984 kB / 1.033 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001479/0.5806, allocations: 1.004 MB / 1.034 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.5806, allocations: 0 / 1.034 GB, free: 0.6484 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/0.5809, allocations: 44.16 kB / 1.034 GB, free: 0.6055 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.5809, allocations: 4 kB / 1.034 GB, free: 0.6016 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.5809, allocations: 11.98 kB / 1.034 GB, free: 0.5898 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.581, allocations: 3.938 kB / 1.034 GB, free: 0.5859 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.581, allocations: 4 kB / 1.034 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006806/0.5816, allocations: 431.6 kB / 1.035 GB, free: 128 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002074/0.5819, allocations: 204.2 kB / 1.035 GB, free: 15.9 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.88e-05/0.5819, allocations: 4 kB / 1.035 GB, free: 15.9 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002709/0.5822, allocations: 19.92 kB / 1.035 GB, free: 15.88 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/0.5823, allocations: 23.91 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.5823, allocations: 12 kB / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009074/0.5832, allocations: 0.9028 MB / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5832, allocations: 0 / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003824/0.5836, allocations: 103.7 kB / 1.036 GB, free: 14.83 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.001069/0.5847, allocations: 0.9922 MB / 1.037 GB, free: 13.8 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0006818/0.5854, allocations: 287.7 kB / 1.037 GB, free: 13.52 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5854, allocations: 0 / 1.037 GB, free: 13.52 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003073/0.5857, allocations: 108.3 kB / 1.037 GB, free: 13.41 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004589/0.5862, allocations: 63.42 kB / 1.037 GB, free: 13.35 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01043/0.5966, allocations: 7.805 MB / 1.045 GB, free: 5.277 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.5971, allocations: 0.9997 MB / 1.046 GB, free: 4.254 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003475/0.5975, allocations: 96.66 kB / 1.046 GB, free: 4.16 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003264/0.5978, allocations: 291.3 kB / 1.046 GB, free: 3.879 MB / 0.795 GB Notification: Performance of SimCode: time 5.11e-07/0.5978, allocations: 0 / 1.046 GB, free: 3.879 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6997/1.298, allocations: 13.37 MB / 1.059 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002108/1.298, allocations: 217.3 kB / 1.059 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/3.251, allocations: 6.438 kB / 1.059 GB, free: 6.484 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