Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.008508/0.008508, allocations: 97.66 kB / 15.73 MB, free: 6.047 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.0016/0.0016, allocations: 201.3 kB / 16.68 MB, free: 5.969 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.462/1.462, allocations: 222.9 MB / 240.4 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.94/2.94, allocations: 469.8 MB / 0.7425 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 67.89 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3877, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.003881/0.3916, allocations: 2.268 MB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.393, allocations: 0.9555 MB / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.936e-05/0.3931, allocations: 0 / 1.224 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005774/0.3937, allocations: 190.9 kB / 1.224 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001238/0.3938, allocations: 63.5 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000374/0.3942, allocations: 111.7 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002789/0.3945, allocations: 231 kB / 1.224 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002027/0.3947, allocations: 61.7 kB / 1.224 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.3948, allocations: 87.56 kB / 1.224 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.3949, allocations: 107.2 kB / 1.225 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.3949, allocations: 20 kB / 1.225 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002848/0.3952, allocations: 147.8 kB / 1.225 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.3954, allocations: 211.4 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001972/0.3956, allocations: 266 kB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007201/0.3963, allocations: 0.7348 MB / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.3963, allocations: 0 / 1.226 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3963, allocations: 7.938 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.3963, allocations: 0 / 1.226 GB, free: 8.371 MB / 0.9825 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.001203/0.3975, allocations: 0.9979 MB / 1.227 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.3976, allocations: 12.03 kB / 1.227 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005446/0.3981, allocations: 124.3 kB / 1.227 GB, free: 7.184 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007726/0.3989, allocations: 0.5904 MB / 1.228 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.169e-05/0.3989, allocations: 16.31 kB / 1.228 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.399, allocations: 8.375 kB / 1.228 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004018/0.3994, allocations: 199.2 kB / 1.228 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.3994, allocations: 192 / 1.228 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.3994, allocations: 11.94 kB / 1.228 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3994, allocations: 4 kB / 1.228 GB, free: 6.312 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000436/0.3998, allocations: 227.9 kB / 1.228 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001122/0.401, allocations: 0.9178 MB / 1.229 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000631/0.4016, allocations: 306.4 kB / 1.229 GB, free: 4.812 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001953/0.4018, allocations: 109 kB / 1.229 GB, free: 4.703 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006443/0.4024, allocations: 244.8 kB / 1.23 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.4025, allocations: 30.56 kB / 1.23 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.4025, allocations: 0 / 1.23 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0007798/0.4032, allocations: 401 kB / 1.23 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.4033, allocations: 63.33 kB / 1.23 GB, free: 3.934 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.4044, allocations: 1.001 MB / 1.231 GB, free: 2.926 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/0.4044, allocations: 29.7 kB / 1.231 GB, free: 2.891 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002924/0.4047, allocations: 340.5 kB / 1.231 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-05/0.4047, allocations: 31.73 kB / 1.231 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.4048, allocations: 29.7 kB / 1.231 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.862e-05/0.4049, allocations: 306 kB / 1.232 GB, free: 2.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000195/0.4051, allocations: 99.89 kB / 1.232 GB, free: 2.082 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002186/0.4053, allocations: 126.5 kB / 1.232 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/0.4057, allocations: 218.4 kB / 1.232 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4057, allocations: 0 / 1.232 GB, free: 1.727 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00052/0.4062, allocations: 325 kB / 1.232 GB, free: 1.402 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.4062, allocations: 8.062 kB / 1.232 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.4062, allocations: 0 / 1.232 GB, free: 1.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.4062, allocations: 4 kB / 1.232 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.4064, allocations: 23.92 kB / 1.232 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.4064, allocations: 7.984 kB / 1.232 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001576/0.4066, allocations: 19.88 kB / 1.233 GB, free: 1.34 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.4066, allocations: 8 kB / 1.233 GB, free: 1.332 MB / 0.9825 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.0002452/0.4068, allocations: 250.3 kB / 1.233 GB, free: 1.078 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.068e-05/0.4069, allocations: 79.42 kB / 1.233 GB, free: 1 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005967/0.4075, allocations: 332.4 kB / 1.233 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4075, allocations: 0 / 1.233 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.4075, allocations: 0 / 1.233 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4075, allocations: 0 / 1.233 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005131/0.4081, allocations: 0.5247 MB / 1.234 GB, free: 92 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4081, allocations: 7.875 kB / 1.234 GB, free: 84 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001545/0.4082, allocations: 28.11 kB / 1.234 GB, free: 56 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4082, allocations: 3.984 kB / 1.234 GB, free: 52 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.4082, allocations: 11.94 kB / 1.234 GB, free: 40 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4082, allocations: 0 / 1.234 GB, free: 40 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.4082, allocations: 0 / 1.234 GB, free: 40 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00054/0.4088, allocations: 406.9 kB / 1.234 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.409, allocations: 188.5 kB / 1.234 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.409, allocations: 4 kB / 1.234 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001696/0.4092, allocations: 4 kB / 1.234 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.4093, allocations: 3.984 kB / 1.234 GB, free: 15.41 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-06/0.4093, allocations: 8 kB / 1.234 GB, free: 15.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008088/0.4101, allocations: 0.7176 MB / 1.235 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4101, allocations: 4 kB / 1.235 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003554/0.4105, allocations: 71.83 kB / 1.235 GB, free: 14.61 MB / 0.9981 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.0002166/0.4107, allocations: 111.2 kB / 1.235 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004656/0.4111, allocations: 212 kB / 1.235 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.4111, allocations: 0 / 1.235 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.4113, allocations: 111.9 kB / 1.235 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.4118, allocations: 49.28 kB / 1.236 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001693/0.4135, allocations: 1.184 MB / 1.237 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/0.414, allocations: 0.9447 MB / 1.238 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001878/0.4142, allocations: 73.33 kB / 1.238 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.176e-05/0.4143, allocations: 39.42 kB / 1.238 GB, free: 11.84 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/0.4143, allocations: 7.938 kB / 1.238 GB, free: 11.83 MB / 0.9981 GB Notification: Performance of Templates: time 0.01032/0.4246, allocations: 4.464 MB / 1.242 GB, free: 7.379 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches