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.00179/0.00179, 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.00193/0.00193, allocations: 195.5 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.525/1.525, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.805/2.805, allocations: 437 MB / 0.7104 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 67.89 kB / 0.8692 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7942/0.7961, allocations: 151.6 MB / 1.017 GB, free: 2.551 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.005281/0.8015, allocations: 2.258 MB / 1.02 GB, free: 280 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.002121/0.8036, allocations: 0.9565 MB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001436/0.8038, allocations: 0 / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008149/0.8047, allocations: 184.9 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.8049, allocations: 71.44 kB / 1.021 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.8055, allocations: 119.7 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000389/0.8059, allocations: 223 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.8062, allocations: 85.69 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.8063, allocations: 83.58 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001739/0.8065, allocations: 107.4 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.226e-05/0.8066, allocations: 16 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004201/0.807, allocations: 151.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002628/0.8073, allocations: 211.4 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0003104/0.8076, allocations: 262.1 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001078/0.8087, allocations: 0.7198 MB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.8087, allocations: 0 / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.8087, allocations: 0 / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.8088, allocations: 0 / 1.023 GB, free: 13.1 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.002008/0.8108, allocations: 0.9747 MB / 1.024 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/0.8108, allocations: 12.03 kB / 1.024 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009692/0.8118, allocations: 119.8 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001337/0.8132, allocations: 0.5895 MB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.758e-05/0.8132, allocations: 8.375 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.112e-05/0.8133, allocations: 12.38 kB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006858/0.814, allocations: 198.1 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.814, allocations: 192 / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.875e-05/0.814, allocations: 7.938 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.437e-06/0.8141, allocations: 4 kB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008644/0.8149, allocations: 228.4 kB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.817, allocations: 0.9138 MB / 1.026 GB, free: 9.895 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001205/0.8182, allocations: 318.5 kB / 1.026 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003859/0.8186, allocations: 104.9 kB / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001203/0.8198, allocations: 252.9 kB / 1.026 GB, free: 9.203 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/0.8199, allocations: 34.5 kB / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 2.074e-06/0.8199, allocations: 0 / 1.026 GB, free: 9.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.001517/0.8214, allocations: 400.6 kB / 1.027 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/0.8215, allocations: 55.41 kB / 1.027 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002206/0.8237, allocations: 0.9935 MB / 1.028 GB, free: 7.691 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.8238, allocations: 25.7 kB / 1.028 GB, free: 7.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005281/0.8243, allocations: 344 kB / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/0.8244, allocations: 35.48 kB / 1.028 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.448e-05/0.8245, allocations: 21.72 kB / 1.028 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001985/0.8247, allocations: 318 kB / 1.028 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004091/0.8252, allocations: 95.95 kB / 1.028 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000425/0.8256, allocations: 122.5 kB / 1.029 GB, free: 6.719 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007748/0.8264, allocations: 218.4 kB / 1.029 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.8264, allocations: 0 / 1.029 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.001065/0.8275, allocations: 324.9 kB / 1.029 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.8275, allocations: 6.031 kB / 1.029 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.8276, allocations: 0 / 1.029 GB, free: 6.168 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.347e-05/0.8276, allocations: 8.031 kB / 1.029 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.8278, allocations: 27.92 kB / 1.029 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.8279, allocations: 8.062 kB / 1.029 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.8281, allocations: 19.83 kB / 1.029 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.03e-05/0.8282, allocations: 4 kB / 1.029 GB, free: 6.102 MB / 0.7794 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.0004273/0.8286, allocations: 245.7 kB / 1.029 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.8288, allocations: 75 kB / 1.029 GB, free: 5.777 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000995/0.8298, allocations: 328.4 kB / 1.03 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.8298, allocations: 4 kB / 1.03 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.8298, allocations: 0 / 1.03 GB, free: 5.445 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.8298, allocations: 3.984 kB / 1.03 GB, free: 5.441 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001095/0.831, allocations: 0.5208 MB / 1.03 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.831, allocations: 3.938 kB / 1.03 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002742/0.8313, allocations: 23.92 kB / 1.03 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.8313, allocations: 0 / 1.03 GB, free: 4.844 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.032e-05/0.8313, allocations: 7.984 kB / 1.03 GB, free: 4.836 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.8313, allocations: 3.938 kB / 1.03 GB, free: 4.832 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.8314, allocations: 4 kB / 1.03 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.8324, allocations: 406.4 kB / 1.031 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.8328, allocations: 180 kB / 1.031 GB, free: 4.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.8329, allocations: 11.98 kB / 1.031 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003212/0.8333, allocations: 8 kB / 1.031 GB, free: 4.199 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.864e-05/0.8333, allocations: 3.984 kB / 1.031 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.8334, allocations: 4 kB / 1.031 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001753/0.8351, allocations: 0.7215 MB / 1.032 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.81e-07/0.8352, allocations: 0 / 1.032 GB, free: 3.477 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006952/0.8359, allocations: 60 kB / 1.032 GB, free: 3.418 MB / 0.7794 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.0003329/0.8362, allocations: 119.2 kB / 1.032 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009254/0.8372, allocations: 223.9 kB / 1.032 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.8372, allocations: 0 / 1.032 GB, free: 3.074 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004144/0.8376, allocations: 116.1 kB / 1.032 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000766/0.8384, allocations: 47.25 kB / 1.032 GB, free: 2.91 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003139/0.8415, allocations: 1.174 MB / 1.033 GB, free: 1.711 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001047/0.8426, allocations: 0.9421 MB / 1.034 GB, free: 0.7461 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004075/0.843, allocations: 77.33 kB / 1.034 GB, free: 0.668 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.8432, allocations: 31.44 kB / 1.034 GB, free: 0.6367 MB / 0.7794 GB Notification: Performance of SimCode: time 6.11e-07/0.8432, allocations: 0 / 1.034 GB, free: 0.6367 MB / 0.7794 GB Notification: Performance of Templates: time 0.01912/0.8623, allocations: 4.401 MB / 1.039 GB, free: 12.25 MB / 0.795 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=400 -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