Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModBas.PEle|opeModBas.QGen_flow|opeModBas.mWat_flow|opeModBas.TWatIn|opeModBas.mAir_flow|opeModBas.mFue_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009233/0.0009233, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 180.6 kB / 16.92 MB, free: 6.918 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.419/1.419, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.768/2.768, allocations: 462.6 MB / 0.7371 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003556, allocations: 8.906 kB / 0.9034 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3243, allocations: 159.6 MB / 1.059 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002674/0.3271, allocations: 1.963 MB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.3288, allocations: 0.9483 MB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001529/0.329, allocations: 0 / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0006386/0.3296, allocations: 175.4 kB / 1.062 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.3298, allocations: 55.62 kB / 1.062 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.3302, allocations: 91.83 kB / 1.062 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003035/0.3305, allocations: 215 kB / 1.063 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002119/0.3308, allocations: 89.62 kB / 1.063 GB, free: 1.434 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/0.3309, allocations: 67.53 kB / 1.063 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.331, allocations: 91.42 kB / 1.063 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.3311, allocations: 8 kB / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003151/0.3314, allocations: 139.8 kB / 1.063 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001844/0.3316, allocations: 195.4 kB / 1.063 GB, free: 0.9414 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0002429/0.3319, allocations: 279.8 kB / 1.064 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005249/0.3324, allocations: 0.5376 MB / 1.064 GB, free: 124 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.3324, allocations: 4 kB / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of FrontEnd: time 2.355e-06/0.3324, allocations: 0 / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.835e-05/0.3324, allocations: 0 / 1.064 GB, free: 120 kB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001239/0.3337, allocations: 0.8779 MB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.3337, allocations: 23.91 kB / 1.065 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005998/0.3343, allocations: 115.9 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008499/0.3352, allocations: 0.5856 MB / 1.066 GB, free: 14.42 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.213e-05/0.3352, allocations: 12.38 kB / 1.066 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.3353, allocations: 24.25 kB / 1.066 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004076/0.3357, allocations: 190.2 kB / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.3357, allocations: 192 / 1.066 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.979e-05/0.3357, allocations: 7.938 kB / 1.066 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.3357, allocations: 7.984 kB / 1.066 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004753/0.3362, allocations: 227.9 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.3375, allocations: 0.91 MB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006537/0.3382, allocations: 318.4 kB / 1.067 GB, free: 12.68 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/0.3384, allocations: 105 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009613/0.3394, allocations: 404.7 kB / 1.068 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.215e-05/0.3394, allocations: 34.56 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 2.064e-06/0.3394, allocations: 0 / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0008948/0.3403, allocations: 404.5 kB / 1.068 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/0.3404, allocations: 51.41 kB / 1.068 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.3417, allocations: 0.9974 MB / 1.069 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/0.3417, allocations: 29.7 kB / 1.069 GB, free: 10.6 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/0.342, allocations: 351.9 kB / 1.07 GB, free: 10.25 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.342, allocations: 31.55 kB / 1.07 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.3421, allocations: 17.7 kB / 1.07 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3422, allocations: 310 kB / 1.07 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.3424, allocations: 95.95 kB / 1.07 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002174/0.3426, allocations: 118.5 kB / 1.07 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004215/0.3431, allocations: 222.8 kB / 1.07 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3431, allocations: 0 / 1.07 GB, free: 9.441 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006179/0.3437, allocations: 328.5 kB / 1.071 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.3437, allocations: 4 kB / 1.071 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3437, allocations: 0 / 1.071 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.3438, allocations: 8 kB / 1.071 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001867/0.344, allocations: 23.92 kB / 1.071 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.344, allocations: 12.05 kB / 1.071 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.3442, allocations: 4 kB / 1.071 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.3442, allocations: 8 kB / 1.071 GB, free: 9.055 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000288/0.3445, allocations: 245.7 kB / 1.071 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.3446, allocations: 75 kB / 1.071 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006691/0.3453, allocations: 336.4 kB / 1.071 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3453, allocations: 0 / 1.071 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.3453, allocations: 0 / 1.071 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3453, allocations: 0 / 1.071 GB, free: 8.395 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005667/0.3459, allocations: 0.5284 MB / 1.072 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.3459, allocations: 3.938 kB / 1.072 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001437/0.346, allocations: 19.98 kB / 1.072 GB, free: 7.793 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.3461, allocations: 3.984 kB / 1.072 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.3461, allocations: 7.938 kB / 1.072 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3461, allocations: 0 / 1.072 GB, free: 7.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3461, allocations: 4 kB / 1.072 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000559/0.3467, allocations: 398.5 kB / 1.072 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/0.3469, allocations: 184 kB / 1.072 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.791e-05/0.3469, allocations: 12.28 kB / 1.072 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.3471, allocations: 4 kB / 1.072 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.923e-05/0.3472, allocations: 7.984 kB / 1.072 GB, free: 7.148 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.3472, allocations: 3.938 kB / 1.072 GB, free: 7.145 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008873/0.3481, allocations: 0.7176 MB / 1.073 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.473e-06/0.3481, allocations: 0 / 1.073 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003827/0.3485, allocations: 71.84 kB / 1.073 GB, free: 6.363 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * 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.000228/0.3487, allocations: 115.2 kB / 1.073 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000488/0.3492, allocations: 215.8 kB / 1.074 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3492, allocations: 4 kB / 1.074 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.3495, allocations: 112 kB / 1.074 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.3499, allocations: 51.25 kB / 1.074 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.3521, allocations: 1.414 MB / 1.075 GB, free: 4.414 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005779/0.3527, allocations: 0.9449 MB / 1.076 GB, free: 3.445 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001336/0.3528, allocations: 39.44 kB / 1.076 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.3528, allocations: 0 / 1.076 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of Templates: time 0.01288/0.3657, allocations: 7.218 MB / 1.083 GB, free: 12.21 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches