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.001394/0.001393, 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.00193/0.00193, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.45/1.45, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.672/2.672, allocations: 437 MB / 0.71 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 63.89 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7212/0.7226, allocations: 151.6 MB / 1.017 GB, free: 2.746 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.003957/0.7266, allocations: 2.777 MB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001705/0.7283, allocations: 1.058 MB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001447/0.7285, allocations: 4 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0006033/0.7291, allocations: 196.8 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.7293, allocations: 67.55 kB / 1.021 GB, free: 14.63 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004161/0.7297, allocations: 159.8 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000376/0.7301, allocations: 399.8 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000299/0.7304, allocations: 209.8 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.7306, allocations: 163.2 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.7308, allocations: 187 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.133e-05/0.7308, allocations: 40 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002897/0.7311, allocations: 171.8 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002181/0.7313, allocations: 255.2 kB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002595/0.7316, allocations: 353.6 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008251/0.7324, allocations: 0.9417 MB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.7325, allocations: 4 kB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.553e-06/0.7325, allocations: 0 / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.7325, allocations: 0 / 1.024 GB, free: 11.78 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.001502/0.734, allocations: 1.127 MB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.734, allocations: 12.03 kB / 1.025 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.7353, allocations: 235.4 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.7366, allocations: 0.7267 MB / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.343e-05/0.7367, allocations: 25.03 kB / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.766e-05/0.7367, allocations: 36.34 kB / 1.026 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008125/0.7375, allocations: 382.5 kB / 1.026 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.7376, allocations: 3.938 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.736e-05/0.7376, allocations: 16 kB / 1.026 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.7376, allocations: 4 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009836/0.7386, allocations: 422.4 kB / 1.026 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003087/0.7417, allocations: 1.783 MB / 1.028 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006666/0.7424, allocations: 210.6 kB / 1.028 GB, free: 6.605 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/0.7427, allocations: 104.8 kB / 1.029 GB, free: 6.5 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.347e-05/0.7428, allocations: 8.297 kB / 1.029 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.7428, allocations: 30.56 kB / 1.029 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=20): time 2.154e-06/0.7428, allocations: 4 kB / 1.029 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of matching and sorting (n=20): time 0.001105/0.7439, allocations: 382.5 kB / 1.029 GB, free: 6.07 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.744, allocations: 51.41 kB / 1.029 GB, free: 6.008 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/0.7454, allocations: 1.243 MB / 1.03 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.7454, allocations: 29.7 kB / 1.03 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003699/0.7458, allocations: 436.1 kB / 1.031 GB, free: 4.273 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.618e-05/0.7459, allocations: 71 kB / 1.031 GB, free: 4.203 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.814e-05/0.746, allocations: 45.7 kB / 1.031 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.7461, allocations: 318 kB / 1.031 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003445/0.7464, allocations: 143.9 kB / 1.031 GB, free: 3.695 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003853/0.7468, allocations: 205.7 kB / 1.031 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000662/0.7475, allocations: 285 kB / 1.032 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.7475, allocations: 0 / 1.032 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009321/0.7485, allocations: 465.5 kB / 1.032 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.582e-05/0.7485, allocations: 7.984 kB / 1.032 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.7485, allocations: 0 / 1.032 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.7485, allocations: 11.88 kB / 1.032 GB, free: 2.695 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003458/0.7489, allocations: 59.97 kB / 1.032 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.7489, allocations: 3.984 kB / 1.032 GB, free: 2.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.7492, allocations: 39.66 kB / 1.032 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.7492, allocations: 12 kB / 1.032 GB, free: 2.582 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.0003048/0.7495, allocations: 266.2 kB / 1.032 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00011/0.7496, allocations: 86.95 kB / 1.033 GB, free: 2.227 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008668/0.7505, allocations: 317.8 kB / 1.033 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.7505, allocations: 8 kB / 1.033 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.7505, allocations: 0 / 1.033 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.7506, allocations: 3.984 kB / 1.033 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001837/0.7524, allocations: 1.007 MB / 1.034 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/0.7524, allocations: 4 kB / 1.034 GB, free: 0.8086 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002666/0.7527, allocations: 52.08 kB / 1.034 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.7527, allocations: 0 / 1.034 GB, free: 0.7578 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.514e-05/0.7527, allocations: 8 kB / 1.034 GB, free: 0.75 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.7527, allocations: 8 kB / 1.034 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.7528, allocations: 0 / 1.034 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008/0.7536, allocations: 449.1 kB / 1.034 GB, free: 276 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002366/0.7538, allocations: 196 kB / 1.035 GB, free: 60 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.332e-05/0.7539, allocations: 8 kB / 1.035 GB, free: 52 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.7542, allocations: 19.97 kB / 1.035 GB, free: 32 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.7543, allocations: 23.92 kB / 1.035 GB, free: 8 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/0.7543, allocations: 8 kB / 1.035 GB, free: 0 / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001088/0.7554, allocations: 0.9028 MB / 1.035 GB, free: 15.09 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7554, allocations: 0 / 1.035 GB, free: 15.09 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004686/0.7559, allocations: 103.7 kB / 1.036 GB, free: 14.98 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.00023/0.7561, allocations: 123.2 kB / 1.036 GB, free: 14.86 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0008286/0.7569, allocations: 293.7 kB / 1.036 GB, free: 14.57 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.7569, allocations: 8.312 kB / 1.036 GB, free: 14.56 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000323/0.7573, allocations: 95.88 kB / 1.036 GB, free: 14.47 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.7578, allocations: 61.06 kB / 1.036 GB, free: 14.41 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.7604, allocations: 1.612 MB / 1.038 GB, free: 12.75 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006221/0.761, allocations: 0.996 MB / 1.039 GB, free: 11.73 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000347/0.7614, allocations: 96.66 kB / 1.039 GB, free: 11.64 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001289/0.7615, allocations: 43.42 kB / 1.039 GB, free: 11.59 MB / 0.795 GB Notification: Performance of SimCode: time 3.5e-07/0.7615, allocations: 7.938 kB / 1.039 GB, free: 11.59 MB / 0.795 GB Notification: Performance of Templates: time 0.01333/0.7748, allocations: 5.469 MB / 1.044 GB, free: 6.129 MB / 0.795 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/jenkins/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