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.001604/0.001604, allocations: 108 kB / 15.6 MB, free: 132 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.001824/0.001824, allocations: 193.1 kB / 16.53 MB, free: 6.391 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.489/2.489, allocations: 437 MB / 0.7104 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 59.91 kB / 0.8694 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5399/0.5413, allocations: 151.6 MB / 1.017 GB, free: 2.488 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004048/0.5454, allocations: 2.75 MB / 1.02 GB, free: 15.72 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.5471, allocations: 1.081 MB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00022/0.5474, allocations: 4 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000618/0.548, allocations: 220.9 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002202/0.5482, allocations: 87.22 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004805/0.5487, allocations: 175.7 kB / 1.022 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004648/0.5492, allocations: 399.8 kB / 1.022 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003179/0.5495, allocations: 209.8 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001846/0.5497, allocations: 159.2 kB / 1.022 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001881/0.5499, allocations: 175 kB / 1.023 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.152e-05/0.55, allocations: 40 kB / 1.023 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003137/0.5503, allocations: 175.8 kB / 1.023 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001981/0.5505, allocations: 259.2 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002464/0.5508, allocations: 353.6 kB / 1.023 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007769/0.5516, allocations: 0.9417 MB / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5516, allocations: 0 / 1.024 GB, free: 11.47 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5516, allocations: 8 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.5516, allocations: 0 / 1.024 GB, free: 11.46 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.001319/0.5529, allocations: 1.123 MB / 1.025 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.553, allocations: 12.03 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.319e-05/0.5531, allocations: 66.72 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.5544, allocations: 239.4 kB / 1.026 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001284/0.5557, allocations: 0.7228 MB / 1.026 GB, free: 9.188 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.5557, allocations: 25.03 kB / 1.026 GB, free: 9.164 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.153e-05/0.5558, allocations: 32.31 kB / 1.026 GB, free: 9.133 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007934/0.5566, allocations: 390.3 kB / 1.027 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.5566, allocations: 0 / 1.027 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.226e-05/0.5566, allocations: 12 kB / 1.027 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.5567, allocations: 8 kB / 1.027 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.5577, allocations: 418.3 kB / 1.027 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002932/0.5606, allocations: 1.783 MB / 1.029 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006673/0.5613, allocations: 214.6 kB / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003166/0.5617, allocations: 100.8 kB / 1.029 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.5617, allocations: 11.94 kB / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.5617, allocations: 34.56 kB / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 2.595e-06/0.5617, allocations: 3.984 kB / 1.029 GB, free: 6.062 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.001098/0.5628, allocations: 374 kB / 1.03 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.5629, allocations: 55.41 kB / 1.03 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.5642, allocations: 1.243 MB / 1.031 GB, free: 4.359 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.043e-05/0.5642, allocations: 33.7 kB / 1.031 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.000319/0.5646, allocations: 428.1 kB / 1.031 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.607e-05/0.5646, allocations: 67.02 kB / 1.031 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.146e-05/0.5647, allocations: 53.69 kB / 1.031 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.906e-05/0.5648, allocations: 318 kB / 1.032 GB, free: 3.453 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003814/0.5652, allocations: 147.9 kB / 1.032 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003891/0.5656, allocations: 211 kB / 1.032 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006716/0.5663, allocations: 283 kB / 1.032 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.5663, allocations: 0 / 1.032 GB, free: 2.789 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008992/0.5672, allocations: 461.8 kB / 1.033 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.5672, allocations: 4 kB / 1.033 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.5672, allocations: 8.094 kB / 1.033 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.5673, allocations: 8 kB / 1.033 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003337/0.5676, allocations: 55.89 kB / 1.033 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.5676, allocations: 4 kB / 1.033 GB, free: 2.254 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000283/0.5679, allocations: 35.67 kB / 1.033 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.614e-05/0.5679, allocations: 15.98 kB / 1.033 GB, free: 2.203 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.0002697/0.5682, allocations: 269.7 kB / 1.033 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001055/0.5683, allocations: 78.97 kB / 1.033 GB, free: 1.852 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008842/0.5692, allocations: 333.6 kB / 1.034 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5692, allocations: 0 / 1.034 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.5692, allocations: 0 / 1.034 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.5692, allocations: 0 / 1.034 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001656/0.5709, allocations: 1.011 MB / 1.035 GB, free: 440 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.5709, allocations: 0 / 1.035 GB, free: 440 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002886/0.5712, allocations: 43.91 kB / 1.035 GB, free: 396 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.165e-05/0.5712, allocations: 4 kB / 1.035 GB, free: 392 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.5713, allocations: 15.92 kB / 1.035 GB, free: 376 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.5713, allocations: 0 / 1.035 GB, free: 376 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.5713, allocations: 4 kB / 1.035 GB, free: 372 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008044/0.5721, allocations: 445.2 kB / 1.035 GB, free: 15.9 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.5723, allocations: 200 kB / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.311e-05/0.5724, allocations: 8 kB / 1.035 GB, free: 15.68 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.5727, allocations: 15.98 kB / 1.035 GB, free: 15.66 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.5728, allocations: 27.84 kB / 1.035 GB, free: 15.63 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.054e-05/0.5728, allocations: 12 kB / 1.035 GB, free: 15.62 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009939/0.5738, allocations: 0.9028 MB / 1.036 GB, free: 14.71 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5738, allocations: 0 / 1.036 GB, free: 14.71 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004176/0.5742, allocations: 103.7 kB / 1.036 GB, free: 14.61 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.001121/0.5754, allocations: 0.9876 MB / 1.037 GB, free: 13.57 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0007629/0.5761, allocations: 279.7 kB / 1.038 GB, free: 13.3 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.5762, allocations: 0 / 1.038 GB, free: 13.3 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0003302/0.5765, allocations: 107.8 kB / 1.038 GB, free: 13.2 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004746/0.577, allocations: 74.31 kB / 1.038 GB, free: 13.12 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009521/0.5865, allocations: 7.623 MB / 1.045 GB, free: 5.242 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.5871, allocations: 0.9994 MB / 1.046 GB, free: 4.219 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003688/0.5874, allocations: 104.6 kB / 1.046 GB, free: 4.113 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003454/0.5878, allocations: 291.3 kB / 1.047 GB, free: 3.832 MB / 0.795 GB Notification: Performance of SimCode: time 4.01e-07/0.5878, allocations: 0 / 1.047 GB, free: 3.832 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3422/0.93, allocations: 13.49 MB / 1.06 GB, free: 6.531 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.202/9.132, allocations: 6.859 kB / 1.06 GB, free: 6.527 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