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 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.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.001549/0.001549, allocations: 108 kB / 15.6 MB, free: 128 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.001894/0.001893, allocations: 192.8 kB / 16.53 MB, free: 6.672 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.47/1.47, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.817/2.817, allocations: 472.6 MB / 0.7451 GB, free: 4.691 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 69.12 kB / 0.912 GB, free: 33.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3318, allocations: 159.9 MB / 1.068 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003565/0.3354, allocations: 2.259 MB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001461/0.3369, allocations: 0.9441 MB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001409/0.3371, allocations: 4 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005713/0.3376, allocations: 195.1 kB / 1.072 GB, free: 7.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.3378, allocations: 67.44 kB / 1.072 GB, free: 6.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000367/0.3382, allocations: 119.7 kB / 1.072 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002572/0.3385, allocations: 219.1 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001834/0.3387, allocations: 93.61 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.3388, allocations: 91.47 kB / 1.072 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.3389, allocations: 99.44 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.601e-05/0.339, allocations: 16 kB / 1.072 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.3393, allocations: 151.8 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001778/0.3395, allocations: 211.4 kB / 1.073 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002082/0.3397, allocations: 270 kB / 1.073 GB, free: 5.715 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006418/0.3403, allocations: 0.7043 MB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3403, allocations: 3.984 kB / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3404, allocations: 0 / 1.073 GB, free: 5.004 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.3404, allocations: 0 / 1.073 GB, free: 5.004 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001243/0.3416, allocations: 0.9747 MB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.3417, allocations: 8.031 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005626/0.3422, allocations: 119.8 kB / 1.075 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000733/0.343, allocations: 0.5856 MB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.343, allocations: 12.38 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.248e-05/0.343, allocations: 12.38 kB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003885/0.3434, allocations: 199.1 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.3435, allocations: 192 / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.3435, allocations: 11.88 kB / 1.075 GB, free: 2.988 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3435, allocations: 4 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004508/0.3439, allocations: 231.9 kB / 1.076 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.3451, allocations: 0.9177 MB / 1.076 GB, free: 1.789 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006375/0.3457, allocations: 318.4 kB / 1.077 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/0.346, allocations: 112.9 kB / 1.077 GB, free: 1.355 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007133/0.3467, allocations: 240.9 kB / 1.077 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.3467, allocations: 34.56 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 2.565e-06/0.3467, allocations: 0 / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0007997/0.3475, allocations: 404.8 kB / 1.078 GB, free: 0.6562 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.3476, allocations: 55.41 kB / 1.078 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.3487, allocations: 0.9936 MB / 1.079 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.3487, allocations: 37.64 kB / 1.079 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002819/0.349, allocations: 344 kB / 1.079 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.3491, allocations: 27.56 kB / 1.079 GB, free: 15.17 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.623e-05/0.3491, allocations: 29.7 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.3492, allocations: 314 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.3494, allocations: 87.95 kB / 1.079 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.3497, allocations: 130.5 kB / 1.079 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000403/0.3501, allocations: 214.5 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3501, allocations: 4 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005532/0.3506, allocations: 320.5 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.3507, allocations: 9.625 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3507, allocations: 0 / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/0.3507, allocations: 7.984 kB / 1.08 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.3509, allocations: 19.98 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.3509, allocations: 4 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.3511, allocations: 4 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.3511, allocations: 7.984 kB / 1.08 GB, free: 14.01 MB / 0.8419 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.0002394/0.3513, allocations: 253.7 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.916e-05/0.3514, allocations: 75 kB / 1.08 GB, free: 13.68 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006404/0.3521, allocations: 332.3 kB / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.3521, allocations: 192 / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3521, allocations: 4 kB / 1.081 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3521, allocations: 3.938 kB / 1.081 GB, free: 13.33 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005507/0.3527, allocations: 0.5323 MB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3527, allocations: 3.938 kB / 1.081 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.3528, allocations: 23.98 kB / 1.081 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.3528, allocations: 0 / 1.081 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.3529, allocations: 4 kB / 1.081 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.3529, allocations: 0 / 1.081 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3529, allocations: 0 / 1.081 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005363/0.3534, allocations: 406.5 kB / 1.082 GB, free: 12.3 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.3536, allocations: 184.1 kB / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.329e-05/0.3537, allocations: 0 / 1.082 GB, free: 12.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.3539, allocations: 11.98 kB / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.3539, allocations: 8 kB / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.3539, allocations: 0 / 1.082 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000823/0.3548, allocations: 0.7215 MB / 1.083 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3548, allocations: 4 kB / 1.083 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003539/0.3551, allocations: 75.84 kB / 1.083 GB, free: 11.29 MB / 0.8419 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.0001971/0.3553, allocations: 111.7 kB / 1.083 GB, free: 11.17 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005989/0.3559, allocations: 220 kB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3559, allocations: 0 / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.3562, allocations: 107.9 kB / 1.083 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000413/0.3566, allocations: 58.16 kB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.3582, allocations: 1.178 MB / 1.084 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005679/0.3588, allocations: 0.9451 MB / 1.085 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002316/0.3591, allocations: 81.31 kB / 1.085 GB, free: 8.539 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.366e-05/0.3592, allocations: 31.44 kB / 1.085 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of SimCode: time 2.9e-07/0.3592, allocations: 4 kB / 1.085 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of Templates: time 0.01073/0.3699, allocations: 4.39 MB / 1.09 GB, free: 4.121 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/jenkins/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