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.001903/0.001903, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.00218/0.00218, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.591/1.591, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.692/2.692, allocations: 437.1 MB / 0.7111 GB, free: 4.465 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001963/0.001963, allocations: 72.11 kB / 0.8699 GB, free: 2.148 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3118, allocations: 151.6 MB / 1.018 GB, free: 10.6 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004383/0.3162, allocations: 2.75 MB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001842/0.3181, allocations: 1.077 MB / 1.022 GB, free: 6.746 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.3183, allocations: 8 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0006225/0.3189, allocations: 218.9 kB / 1.022 GB, free: 6.523 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.3191, allocations: 79.31 kB / 1.022 GB, free: 6.445 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004632/0.3196, allocations: 179.7 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0004529/0.3201, allocations: 412.5 kB / 1.023 GB, free: 5.867 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003473/0.3204, allocations: 209.8 kB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.3206, allocations: 151.3 kB / 1.023 GB, free: 5.512 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002138/0.3208, allocations: 183 kB / 1.023 GB, free: 5.332 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.241e-05/0.3209, allocations: 40 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003448/0.3213, allocations: 175.8 kB / 1.023 GB, free: 5.121 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002379/0.3215, allocations: 255.2 kB / 1.024 GB, free: 4.871 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000318/0.3218, allocations: 353.6 kB / 1.024 GB, free: 4.523 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0009611/0.3228, allocations: 0.9418 MB / 1.025 GB, free: 3.578 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3228, allocations: 4 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.042e-06/0.3228, allocations: 0 / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.505e-05/0.3228, allocations: 0 / 1.025 GB, free: 3.574 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.001605/0.3244, allocations: 1.119 MB / 1.026 GB, free: 2.398 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.3245, allocations: 12.92 kB / 1.026 GB, free: 2.387 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.3259, allocations: 235.4 kB / 1.026 GB, free: 2.156 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001466/0.3274, allocations: 0.7306 MB / 1.027 GB, free: 1.371 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.3274, allocations: 25.03 kB / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.115e-05/0.3275, allocations: 28.38 kB / 1.027 GB, free: 1.32 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008784/0.3284, allocations: 386.5 kB / 1.027 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.3284, allocations: 3.938 kB / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.335e-05/0.3284, allocations: 16 kB / 1.027 GB, free: 0.9141 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/0.3284, allocations: 8 kB / 1.027 GB, free: 0.9062 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.3295, allocations: 414.4 kB / 1.028 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003458/0.333, allocations: 1.779 MB / 1.029 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000702/0.3337, allocations: 230.5 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003292/0.3341, allocations: 96.81 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/0.3341, allocations: 4 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.683e-05/0.3341, allocations: 34.56 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=20): time 1.924e-06/0.3342, allocations: 4 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of matching and sorting (n=20): time 0.001165/0.3353, allocations: 374.3 kB / 1.03 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.3354, allocations: 51.41 kB / 1.03 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.337, allocations: 1.258 MB / 1.031 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.337, allocations: 29.7 kB / 1.031 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004197/0.3375, allocations: 428.2 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.056e-05/0.3375, allocations: 71.3 kB / 1.032 GB, free: 12 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.3376, allocations: 49.7 kB / 1.032 GB, free: 11.95 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.3378, allocations: 314 kB / 1.032 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003686/0.3382, allocations: 147.9 kB / 1.032 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004316/0.3386, allocations: 211.3 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007035/0.3393, allocations: 279.6 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.3394, allocations: 3.938 kB / 1.033 GB, free: 10.97 MB / 0.8106 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001018/0.3404, allocations: 470 kB / 1.033 GB, free: 10.51 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.3404, allocations: 4 kB / 1.033 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.3404, allocations: 4.156 kB / 1.033 GB, free: 10.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3404, allocations: 7.938 kB / 1.033 GB, free: 10.49 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003317/0.3408, allocations: 55.97 kB / 1.033 GB, free: 10.44 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.114e-05/0.3408, allocations: 7.922 kB / 1.033 GB, free: 10.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.3411, allocations: 39.67 kB / 1.033 GB, free: 10.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.3411, allocations: 4 kB / 1.033 GB, free: 10.39 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.0003389/0.3415, allocations: 277.7 kB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.3416, allocations: 82.88 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009171/0.3425, allocations: 319.9 kB / 1.034 GB, free: 9.703 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.3426, allocations: 4 kB / 1.034 GB, free: 9.699 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3426, allocations: 3.938 kB / 1.034 GB, free: 9.695 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.3426, allocations: 3.984 kB / 1.034 GB, free: 9.691 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.3444, allocations: 1.003 MB / 1.035 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/0.3444, allocations: 4 kB / 1.035 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002824/0.3447, allocations: 47.95 kB / 1.035 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.3447, allocations: 4 kB / 1.035 GB, free: 8.562 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.177e-05/0.3447, allocations: 4 kB / 1.035 GB, free: 8.559 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.166e-06/0.3447, allocations: 7.938 kB / 1.035 GB, free: 8.551 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.3448, allocations: 4.125 kB / 1.035 GB, free: 8.547 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008605/0.3456, allocations: 443.6 kB / 1.036 GB, free: 8.078 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002813/0.3459, allocations: 207.9 kB / 1.036 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.399e-05/0.346, allocations: 11.98 kB / 1.036 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002973/0.3463, allocations: 19.98 kB / 1.036 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.982e-05/0.3464, allocations: 23.86 kB / 1.036 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.3464, allocations: 4 kB / 1.036 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001179/0.3476, allocations: 0.9028 MB / 1.037 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.8e-07/0.3476, allocations: 0 / 1.037 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004722/0.3481, allocations: 107.8 kB / 1.037 GB, free: 6.777 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.0002202/0.3483, allocations: 119.2 kB / 1.037 GB, free: 6.652 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0008385/0.3491, allocations: 283.7 kB / 1.037 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3492, allocations: 0 / 1.037 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0003518/0.3495, allocations: 108.5 kB / 1.037 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005134/0.35, allocations: 61.78 kB / 1.037 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002697/0.3527, allocations: 1.457 MB / 1.039 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007305/0.3535, allocations: 0.9995 MB / 1.04 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.3537, allocations: 47.42 kB / 1.04 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of SimCode: time 3.61e-07/0.3537, allocations: 0 / 1.04 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of Templates: time 0.01474/0.3684, allocations: 8.949 MB / 1.049 GB, free: 10.7 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=400 -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