Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.01054/0.01054, allocations: 95.61 kB / 15.73 MB, free: 6.043 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.002213/0.002213, allocations: 196.7 kB / 16.67 MB, free: 5.973 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.72/2.72, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 63.91 kB / 1.019 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3733, allocations: 151.6 MB / 1.167 GB, free: 6.766 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.00405/0.3774, allocations: 2.259 MB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001549/0.379, allocations: 0.9447 MB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.3792, allocations: 4 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000582/0.3798, allocations: 194.8 kB / 1.17 GB, free: 3.344 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.38, allocations: 71.38 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004141/0.3804, allocations: 115.7 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.3808, allocations: 219.1 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.381, allocations: 95.53 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001485/0.3811, allocations: 83.53 kB / 1.17 GB, free: 2.77 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.3813, allocations: 103.4 kB / 1.171 GB, free: 2.668 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.797e-05/0.3813, allocations: 16 kB / 1.171 GB, free: 2.652 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003149/0.3816, allocations: 155.8 kB / 1.171 GB, free: 2.5 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001781/0.3818, allocations: 215.3 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002173/0.382, allocations: 270 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0007377/0.3828, allocations: 0.727 MB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.3828, allocations: 0 / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.133e-06/0.3828, allocations: 0 / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.862e-05/0.3828, allocations: 0 / 1.172 GB, free: 1.293 MB / 0.92 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.001322/0.3841, allocations: 0.994 MB / 1.173 GB, free: 248 kB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.3842, allocations: 8.031 kB / 1.173 GB, free: 240 kB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005424/0.3847, allocations: 132.3 kB / 1.173 GB, free: 108 kB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008083/0.3856, allocations: 0.5981 MB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.3856, allocations: 8.375 kB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.178e-05/0.3856, allocations: 12.38 kB / 1.174 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003933/0.386, allocations: 199.6 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.386, allocations: 192 / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.3861, allocations: 7.938 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.3861, allocations: 4 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004458/0.3865, allocations: 227.9 kB / 1.174 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.3877, allocations: 0.9178 MB / 1.175 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006294/0.3884, allocations: 310.5 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001991/0.3886, allocations: 108.9 kB / 1.175 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006847/0.3893, allocations: 232.9 kB / 1.176 GB, free: 13.38 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.708e-05/0.3893, allocations: 42.5 kB / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.052e-06/0.3893, allocations: 0 / 1.176 GB, free: 13.32 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.000788/0.3901, allocations: 409.2 kB / 1.176 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.3901, allocations: 51.41 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/0.3913, allocations: 0.9975 MB / 1.177 GB, free: 11.85 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3913, allocations: 29.64 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002816/0.3916, allocations: 348.1 kB / 1.177 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.3916, allocations: 27.75 kB / 1.177 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.644e-05/0.3917, allocations: 29.7 kB / 1.177 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.3918, allocations: 306 kB / 1.178 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.392, allocations: 103.9 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/0.3923, allocations: 122.5 kB / 1.178 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003921/0.3927, allocations: 222.4 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3927, allocations: 0 / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005675/0.3932, allocations: 328.9 kB / 1.178 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3933, allocations: 8 kB / 1.178 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3933, allocations: 3.984 kB / 1.178 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3933, allocations: 0 / 1.178 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.3935, allocations: 23.98 kB / 1.179 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3935, allocations: 0 / 1.179 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001542/0.3936, allocations: 27.94 kB / 1.179 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.3937, allocations: 0 / 1.179 GB, free: 10.25 MB / 0.9356 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.0002345/0.3939, allocations: 245.8 kB / 1.179 GB, free: 10 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.386e-05/0.394, allocations: 79.41 kB / 1.179 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005866/0.3946, allocations: 332.4 kB / 1.179 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3946, allocations: 4.188 kB / 1.179 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.3946, allocations: 0 / 1.179 GB, free: 9.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.3946, allocations: 7.938 kB / 1.179 GB, free: 9.582 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005159/0.3951, allocations: 0.5285 MB / 1.18 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.3951, allocations: 7.875 kB / 1.18 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001389/0.3953, allocations: 19.98 kB / 1.18 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3953, allocations: 0 / 1.18 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.3953, allocations: 4 kB / 1.18 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.3953, allocations: 4 kB / 1.18 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3953, allocations: 0 / 1.18 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005626/0.3959, allocations: 406.9 kB / 1.18 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.3961, allocations: 192.4 kB / 1.18 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.142e-05/0.3962, allocations: 0 / 1.18 GB, free: 8.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.3963, allocations: 7.984 kB / 1.18 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.3964, allocations: 8 kB / 1.18 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.3964, allocations: 11.98 kB / 1.18 GB, free: 8.32 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0008867/0.3973, allocations: 0.7137 MB / 1.181 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.41e-07/0.3973, allocations: 0 / 1.181 GB, free: 7.609 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003481/0.3977, allocations: 71.89 kB / 1.181 GB, free: 7.539 MB / 0.9356 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.0001966/0.3979, allocations: 111.2 kB / 1.181 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004689/0.3983, allocations: 215.8 kB / 1.181 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3984, allocations: 3.938 kB / 1.181 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.3986, allocations: 104 kB / 1.182 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.399, allocations: 55.84 kB / 1.182 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.4007, allocations: 1.186 MB / 1.183 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006253/0.4013, allocations: 0.9447 MB / 1.184 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0002056/0.4015, allocations: 81.31 kB / 1.184 GB, free: 4.789 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.387e-05/0.4016, allocations: 35.38 kB / 1.184 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.4016, allocations: 0 / 1.184 GB, free: 4.754 MB / 0.9356 GB Notification: Performance of Templates: time 0.01008/0.4117, allocations: 4.454 MB / 1.188 GB, free: 312 kB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches