Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.001157/0.001157, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001338/0.001338, allocations: 190.9 kB / 16.25 MB, free: 6.586 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.449/1.449, allocations: 222.9 MB / 239.9 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.986/2.986, allocations: 472.6 MB / 0.7448 GB, free: 4.859 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 65.06 kB / 0.9116 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3442/0.3455, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004484/0.35, allocations: 2.779 MB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001838/0.3519, allocations: 1.049 MB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002903/0.3522, allocations: 8 kB / 1.071 GB, free: 6.914 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.000717/0.3529, allocations: 203.1 kB / 1.072 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.3532, allocations: 63.56 kB / 1.072 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005264/0.3538, allocations: 155.8 kB / 1.072 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005483/0.3543, allocations: 411.8 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000421/0.3548, allocations: 205.8 kB / 1.072 GB, free: 5.883 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.355, allocations: 155.2 kB / 1.073 GB, free: 5.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.3552, allocations: 187 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.229e-05/0.3553, allocations: 44 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003311/0.3557, allocations: 171.8 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002398/0.3559, allocations: 263.2 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002903/0.3562, allocations: 353.5 kB / 1.074 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009402/0.3572, allocations: 0.9418 MB / 1.075 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3572, allocations: 0 / 1.075 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.3572, allocations: 0 / 1.075 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.552e-05/0.3572, allocations: 0 / 1.075 GB, free: 3.785 MB / 0.8262 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.001646/0.3589, allocations: 1.131 MB / 1.076 GB, free: 2.598 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.3589, allocations: 8.031 kB / 1.076 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.3603, allocations: 239.5 kB / 1.076 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001426/0.3618, allocations: 0.7228 MB / 1.077 GB, free: 1.574 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.3618, allocations: 21.03 kB / 1.077 GB, free: 1.555 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.3619, allocations: 32.38 kB / 1.077 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009116/0.3628, allocations: 378.5 kB / 1.077 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.3628, allocations: 3.938 kB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/0.3629, allocations: 16 kB / 1.077 GB, free: 1.129 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.3629, allocations: 8 kB / 1.077 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.3639, allocations: 422.3 kB / 1.077 GB, free: 0.707 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003566/0.3675, allocations: 1.791 MB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006689/0.3682, allocations: 222.6 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.3685, allocations: 100.8 kB / 1.079 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/0.3686, allocations: 7.984 kB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.689e-05/0.3686, allocations: 42.52 kB / 1.079 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=20): time 1.473e-06/0.3686, allocations: 0 / 1.079 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20): time 0.001122/0.3697, allocations: 366.1 kB / 1.08 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.3698, allocations: 59.36 kB / 1.08 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.3714, allocations: 1.254 MB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.355e-05/0.3714, allocations: 29.7 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003409/0.3718, allocations: 428.2 kB / 1.082 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.277e-05/0.3718, allocations: 67.39 kB / 1.082 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001065/0.372, allocations: 57.55 kB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.3721, allocations: 314 kB / 1.082 GB, free: 11.83 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.3724, allocations: 151.9 kB / 1.082 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003757/0.3728, allocations: 202.7 kB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006523/0.3735, allocations: 275.9 kB / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3735, allocations: 0 / 1.083 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009317/0.3744, allocations: 460.2 kB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.3745, allocations: 5.562 kB / 1.083 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.3745, allocations: 8 kB / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3745, allocations: 3.938 kB / 1.083 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.3748, allocations: 63.89 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.3749, allocations: 4 kB / 1.083 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.3752, allocations: 35.67 kB / 1.083 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.474e-05/0.3752, allocations: 12 kB / 1.083 GB, free: 10.59 MB / 0.8419 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.0003005/0.3755, allocations: 269.7 kB / 1.083 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.3756, allocations: 86.81 kB / 1.083 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008578/0.3765, allocations: 331.8 kB / 1.084 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3765, allocations: 0 / 1.084 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3765, allocations: 0 / 1.084 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.3765, allocations: 3.938 kB / 1.084 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001678/0.3782, allocations: 1.011 MB / 1.085 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3782, allocations: 0 / 1.085 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.3785, allocations: 47.91 kB / 1.085 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3785, allocations: 4 kB / 1.085 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.094e-05/0.3785, allocations: 4 kB / 1.085 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3786, allocations: 0 / 1.085 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.3786, allocations: 16.05 kB / 1.085 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007808/0.3794, allocations: 427.3 kB / 1.085 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002568/0.3796, allocations: 207.9 kB / 1.085 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.214e-05/0.3797, allocations: 12 kB / 1.085 GB, free: 8.062 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002963/0.38, allocations: 15.98 kB / 1.085 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.584e-05/0.3801, allocations: 23.86 kB / 1.086 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.3801, allocations: 15.98 kB / 1.086 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001202/0.3813, allocations: 0.9028 MB / 1.086 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3813, allocations: 0 / 1.086 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004646/0.3818, allocations: 99.84 kB / 1.087 GB, free: 6.996 MB / 0.8419 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.0002352/0.3821, allocations: 115.2 kB / 1.087 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0008188/0.3829, allocations: 287.6 kB / 1.087 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.3829, allocations: 0 / 1.087 GB, free: 6.594 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003293/0.3832, allocations: 104.5 kB / 1.087 GB, free: 6.492 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005298/0.3838, allocations: 75.36 kB / 1.087 GB, free: 6.414 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002711/0.3865, allocations: 1.606 MB / 1.089 GB, free: 4.762 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006771/0.3872, allocations: 0.9947 MB / 1.09 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0003768/0.3876, allocations: 100.7 kB / 1.09 GB, free: 3.641 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.3877, allocations: 43.44 kB / 1.09 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of SimCode: time 3.51e-07/0.3877, allocations: 0 / 1.09 GB, free: 3.598 MB / 0.8419 GB Notification: Performance of Templates: time 0.01229/0.4, allocations: 5.477 MB / 1.095 GB, free: 14.13 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches