Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.006597/0.006597, allocations: 108.8 kB / 15.74 MB, free: 6.441 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.001603/0.001604, allocations: 195.1 kB / 16.67 MB, free: 6.355 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.585/1.585, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.478/2.478, allocations: 390.2 MB / 0.6648 GB, free: 144 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 62.53 kB / 0.9509 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3097, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003905/0.3136, allocations: 2.721 MB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.3153, allocations: 1.093 MB / 1.092 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.3155, allocations: 7.938 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0005723/0.3161, allocations: 218.8 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.3162, allocations: 91.28 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.3167, allocations: 187.6 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003814/0.3171, allocations: 403.8 kB / 1.093 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003049/0.3174, allocations: 209.6 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.3176, allocations: 155.3 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001671/0.3178, allocations: 175 kB / 1.093 GB, free: 12.21 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.274e-05/0.3178, allocations: 44 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002919/0.3181, allocations: 179.8 kB / 1.093 GB, free: 11.99 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000199/0.3183, allocations: 259.2 kB / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002556/0.3186, allocations: 345.6 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.3196, allocations: 0.965 MB / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.3196, allocations: 0 / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.795e-06/0.3196, allocations: 0 / 1.095 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.3197, allocations: 0 / 1.095 GB, free: 10.43 MB / 0.8575 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.001828/0.3215, allocations: 1.135 MB / 1.096 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.823e-05/0.3216, allocations: 8.031 kB / 1.096 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001226/0.3228, allocations: 231.5 kB / 1.096 GB, free: 9 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.3241, allocations: 0.7268 MB / 1.097 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/0.3241, allocations: 21.03 kB / 1.097 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.626e-05/0.3242, allocations: 28.38 kB / 1.097 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007717/0.325, allocations: 382.5 kB / 1.097 GB, free: 7.789 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.325, allocations: 7.938 kB / 1.097 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.345e-05/0.325, allocations: 15.94 kB / 1.097 GB, free: 7.766 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.325, allocations: 8 kB / 1.097 GB, free: 7.758 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009105/0.326, allocations: 422.4 kB / 1.098 GB, free: 7.348 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002994/0.329, allocations: 1.775 MB / 1.099 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006596/0.3296, allocations: 222.8 kB / 1.1 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002828/0.3299, allocations: 92.81 kB / 1.1 GB, free: 5.16 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 4.211e-05/0.33, allocations: 16.05 kB / 1.1 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.324e-05/0.33, allocations: 38.56 kB / 1.1 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=20): time 1.634e-06/0.33, allocations: 0 / 1.1 GB, free: 5.098 MB / 0.8575 GB Notification: Performance of matching and sorting (n=20): time 0.0009953/0.331, allocations: 370.2 kB / 1.1 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.3311, allocations: 59.34 kB / 1.1 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.3325, allocations: 1.239 MB / 1.101 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.3326, allocations: 33.7 kB / 1.101 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003744/0.3329, allocations: 432 kB / 1.102 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.799e-05/0.333, allocations: 67.05 kB / 1.102 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001224/0.3331, allocations: 57.59 kB / 1.102 GB, free: 2.801 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.3333, allocations: 314 kB / 1.102 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003222/0.3336, allocations: 147.9 kB / 1.102 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.334, allocations: 203.4 kB / 1.103 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006071/0.3346, allocations: 287.6 kB / 1.103 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3346, allocations: 0 / 1.103 GB, free: 1.828 MB / 0.8575 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008587/0.3354, allocations: 457.3 kB / 1.103 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.3355, allocations: 8 kB / 1.103 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3355, allocations: 4 kB / 1.103 GB, free: 1.363 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.3355, allocations: 15.81 kB / 1.103 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.3359, allocations: 60.08 kB / 1.103 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.3359, allocations: 7.938 kB / 1.103 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002764/0.3362, allocations: 31.73 kB / 1.103 GB, free: 1.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.3362, allocations: 8 kB / 1.103 GB, free: 1.242 MB / 0.8575 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.0003544/0.3365, allocations: 265.7 kB / 1.104 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.3367, allocations: 86.88 kB / 1.104 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008237/0.3375, allocations: 329.7 kB / 1.104 GB, free: 0.5586 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.3375, allocations: 4 kB / 1.104 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.3375, allocations: 4 kB / 1.104 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3375, allocations: 0 / 1.104 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001594/0.3391, allocations: 1.001 MB / 1.105 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3392, allocations: 0 / 1.105 GB, free: 15.47 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.3394, allocations: 48.16 kB / 1.105 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3394, allocations: 4 kB / 1.105 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.186e-05/0.3394, allocations: 4 kB / 1.105 GB, free: 15.42 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/0.3395, allocations: 11.92 kB / 1.105 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3395, allocations: 0 / 1.105 GB, free: 15.41 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007094/0.3402, allocations: 437.1 kB / 1.106 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.3404, allocations: 207.9 kB / 1.106 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.473e-05/0.3405, allocations: 8 kB / 1.106 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.3407, allocations: 19.92 kB / 1.106 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.3408, allocations: 23.92 kB / 1.106 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.3409, allocations: 11.98 kB / 1.106 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.00104/0.3419, allocations: 0.9028 MB / 1.107 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3419, allocations: 0 / 1.107 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004523/0.3424, allocations: 99.84 kB / 1.107 GB, free: 13.65 MB / 0.8731 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.0002241/0.3426, allocations: 119.1 kB / 1.107 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0007117/0.3433, allocations: 281.8 kB / 1.107 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.3433, allocations: 4.062 kB / 1.107 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002985/0.3436, allocations: 107.8 kB / 1.107 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004918/0.3441, allocations: 71.38 kB / 1.107 GB, free: 13.07 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002262/0.3464, allocations: 1.372 MB / 1.109 GB, free: 11.65 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005832/0.347, allocations: 1.006 MB / 1.11 GB, free: 10.62 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003122/0.3473, allocations: 100.6 kB / 1.11 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001296/0.3475, allocations: 39.44 kB / 1.11 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of SimCode: time 7.61e-07/0.3475, allocations: 0 / 1.11 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of Templates: time 0.01219/0.3597, allocations: 5.599 MB / 1.115 GB, free: 4.891 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches