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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 104 kB / 16.27 MB, free: 5.98 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.001821/0.001821, allocations: 189.8 kB / 17.2 MB, free: 5.605 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.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.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.468/2.468, allocations: 437 MB / 0.711 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 75.91 kB / 0.8699 GB, free: 2.242 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3682/0.3698, allocations: 151.6 MB / 1.018 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.005456/0.3753, allocations: 2.748 MB / 1.021 GB, free: 7.93 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002354/0.3777, allocations: 1.073 MB / 1.022 GB, free: 6.852 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003974/0.3781, allocations: 12 kB / 1.022 GB, free: 6.84 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008674/0.379, allocations: 210.9 kB / 1.022 GB, free: 6.633 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.000427/0.3795, allocations: 83.23 kB / 1.022 GB, free: 6.551 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007088/0.3802, allocations: 179.7 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0007057/0.3809, allocations: 403.8 kB / 1.023 GB, free: 5.98 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004792/0.3814, allocations: 209.8 kB / 1.023 GB, free: 5.773 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003214/0.3818, allocations: 159.2 kB / 1.023 GB, free: 5.617 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003082/0.3821, allocations: 175 kB / 1.023 GB, free: 5.445 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001346/0.3822, allocations: 40 kB / 1.023 GB, free: 5.406 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004676/0.3827, allocations: 171.8 kB / 1.023 GB, free: 5.238 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0003056/0.383, allocations: 263.2 kB / 1.024 GB, free: 4.98 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0004471/0.3835, allocations: 357.5 kB / 1.024 GB, free: 4.629 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001231/0.3847, allocations: 0.9457 MB / 1.025 GB, free: 3.68 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.3847, allocations: 0 / 1.025 GB, free: 3.68 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.405e-06/0.3848, allocations: 0 / 1.025 GB, free: 3.68 MB / 0.795 GB Notification: Performance of Transformations before backend: time 3.197e-05/0.3848, allocations: 0 / 1.025 GB, free: 3.68 MB / 0.795 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.00227/0.3871, allocations: 1.119 MB / 1.026 GB, free: 2.504 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.3871, allocations: 8.922 kB / 1.026 GB, free: 2.496 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.3887, allocations: 243.4 kB / 1.026 GB, free: 2.258 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.3904, allocations: 0.7228 MB / 1.027 GB, free: 1.48 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/0.3905, allocations: 25.03 kB / 1.027 GB, free: 1.457 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.119e-05/0.3906, allocations: 28.38 kB / 1.027 GB, free: 1.43 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001144/0.3917, allocations: 382.5 kB / 1.027 GB, free: 1.047 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.3918, allocations: 7.875 kB / 1.027 GB, free: 1.039 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.536e-05/0.3919, allocations: 12 kB / 1.027 GB, free: 1.027 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.3919, allocations: 8 kB / 1.027 GB, free: 1.02 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001233/0.3931, allocations: 422.3 kB / 1.028 GB, free: 0.6094 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003853/0.397, allocations: 1.779 MB / 1.029 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007572/0.3978, allocations: 214.6 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000332/0.3981, allocations: 108.7 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 4.193e-05/0.3982, allocations: 8.297 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.3982, allocations: 34.56 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.512e-06/0.3982, allocations: 0 / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.001266/0.3995, allocations: 374.2 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.3996, allocations: 55.41 kB / 1.03 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001837/0.4014, allocations: 1.251 MB / 1.031 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.516e-05/0.4014, allocations: 33.69 kB / 1.031 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004172/0.4019, allocations: 428.2 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.599e-05/0.402, allocations: 67 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.4021, allocations: 49.7 kB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4022, allocations: 314 kB / 1.032 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003824/0.4026, allocations: 155.9 kB / 1.032 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000453/0.4031, allocations: 214.8 kB / 1.033 GB, free: 11.37 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007226/0.4038, allocations: 279.4 kB / 1.033 GB, free: 11.08 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-06/0.4038, allocations: 4 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001087/0.4049, allocations: 464.1 kB / 1.033 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/0.405, allocations: 4.156 kB / 1.033 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/0.405, allocations: 8 kB / 1.033 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.405, allocations: 3.938 kB / 1.033 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00033/0.4053, allocations: 55.91 kB / 1.033 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.421e-05/0.4054, allocations: 7.984 kB / 1.033 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/0.4057, allocations: 35.67 kB / 1.033 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.502e-05/0.4057, allocations: 12 kB / 1.033 GB, free: 10.49 MB / 0.8106 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.0003638/0.4061, allocations: 273.7 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001434/0.4062, allocations: 82.88 kB / 1.034 GB, free: 10.13 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009259/0.4072, allocations: 321.8 kB / 1.034 GB, free: 9.805 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.4072, allocations: 7.938 kB / 1.034 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.4072, allocations: 0 / 1.034 GB, free: 9.797 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.4072, allocations: 3.984 kB / 1.034 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001898/0.4091, allocations: 0.9997 MB / 1.035 GB, free: 8.719 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.676e-06/0.4091, allocations: 4 kB / 1.035 GB, free: 8.715 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002721/0.4094, allocations: 47.89 kB / 1.035 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.4094, allocations: 4 kB / 1.035 GB, free: 8.664 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.431e-05/0.4095, allocations: 4 kB / 1.035 GB, free: 8.66 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/0.4095, allocations: 7.984 kB / 1.035 GB, free: 8.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.4095, allocations: 12.06 kB / 1.035 GB, free: 8.641 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009024/0.4104, allocations: 442.4 kB / 1.036 GB, free: 8.176 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000275/0.4107, allocations: 203.9 kB / 1.036 GB, free: 7.957 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.16e-05/0.4108, allocations: 15.98 kB / 1.036 GB, free: 7.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.4111, allocations: 15.98 kB / 1.036 GB, free: 7.926 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001711/0.4113, allocations: 19.86 kB / 1.036 GB, free: 7.906 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.4113, allocations: 8 kB / 1.036 GB, free: 7.898 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001393/0.4127, allocations: 0.9028 MB / 1.037 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4127, allocations: 0 / 1.037 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004739/0.4132, allocations: 103.8 kB / 1.037 GB, free: 6.883 MB / 0.8106 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.0002739/0.4135, allocations: 115.2 kB / 1.037 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008627/0.4143, allocations: 291.6 kB / 1.037 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.4144, allocations: 0 / 1.037 GB, free: 6.477 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003603/0.4147, allocations: 105.2 kB / 1.037 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005684/0.4153, allocations: 74.09 kB / 1.037 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003196/0.4185, allocations: 1.448 MB / 1.039 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008315/0.4194, allocations: 0.9956 MB / 1.04 GB, free: 3.781 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001942/0.4196, allocations: 51.42 kB / 1.04 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of SimCode: time 6.11e-07/0.4196, allocations: 0 / 1.04 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of Templates: time 0.01801/0.4376, allocations: 8.934 MB / 1.049 GB, free: 10.82 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (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 & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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