Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_9_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_9_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.001857/0.001857, allocations: 115.8 kB / 16.37 MB, free: 6 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.002099/0.002099, allocations: 193.3 kB / 17.31 MB, free: 5.613 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.454/1.454, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.181/2.181, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001598/0.001598, allocations: 63.48 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2765, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.00405/0.2806, allocations: 2.26 MB / 0.9533 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001517/0.2821, allocations: 0.9453 MB / 0.9543 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.2823, allocations: 0 / 0.9543 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005733/0.2829, allocations: 199.1 kB / 0.9544 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001864/0.2831, allocations: 67.44 kB / 0.9545 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003919/0.2835, allocations: 115.7 kB / 0.9546 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.2838, allocations: 223.1 kB / 0.9548 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001798/0.284, allocations: 101.6 kB / 0.9549 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001379/0.2842, allocations: 87.47 kB / 0.955 GB, free: 4.055 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.2843, allocations: 99.44 kB / 0.9551 GB, free: 3.957 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.288e-05/0.2843, allocations: 16 kB / 0.9551 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003002/0.2846, allocations: 151.8 kB / 0.9553 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.2848, allocations: 207.4 kB / 0.9555 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002118/0.285, allocations: 270 kB / 0.9557 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006492/0.2857, allocations: 0.7199 MB / 0.9564 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2857, allocations: 0 / 0.9564 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2857, allocations: 3.938 kB / 0.9564 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.2857, allocations: 0 / 0.9564 GB, free: 2.598 MB / 0.7325 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.001138/0.2869, allocations: 0.9785 MB / 0.9574 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.2869, allocations: 8.031 kB / 0.9574 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005184/0.2874, allocations: 115.8 kB / 0.9575 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007238/0.2882, allocations: 0.5895 MB / 0.9581 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.2882, allocations: 12.38 kB / 0.9581 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.171e-05/0.2882, allocations: 12.38 kB / 0.9581 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/0.2886, allocations: 198.7 kB / 0.9583 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.2886, allocations: 192 / 0.9583 GB, free: 0.5898 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.069e-05/0.2886, allocations: 15.91 kB / 0.9583 GB, free: 0.5742 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2886, allocations: 4 kB / 0.9583 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004183/0.2891, allocations: 227.8 kB / 0.9585 GB, free: 356 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001098/0.2902, allocations: 0.9099 MB / 0.9594 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006/0.2908, allocations: 314.5 kB / 0.9597 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.291, allocations: 104.9 kB / 0.9598 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005907/0.2916, allocations: 244.9 kB / 0.9601 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.2916, allocations: 30.56 kB / 0.9601 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=9): time 1.232e-06/0.2916, allocations: 0 / 0.9601 GB, free: 14.67 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9): time 0.0007491/0.2924, allocations: 408.5 kB / 0.9605 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.339e-05/0.2924, allocations: 55.41 kB / 0.9605 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.2935, allocations: 0.9935 MB / 0.9615 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.2935, allocations: 29.7 kB / 0.9615 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.2938, allocations: 340 kB / 0.9618 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.532e-05/0.2938, allocations: 31.55 kB / 0.9619 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.2939, allocations: 33.7 kB / 0.9619 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.624e-05/0.294, allocations: 310 kB / 0.9622 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001863/0.2942, allocations: 95.89 kB / 0.9623 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002012/0.2944, allocations: 126.5 kB / 0.9624 GB, free: 12.21 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/0.2948, allocations: 210.4 kB / 0.9626 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2948, allocations: 8 kB / 0.9626 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005007/0.2953, allocations: 324.5 kB / 0.9629 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2953, allocations: 4 kB / 0.9629 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.2953, allocations: 0 / 0.9629 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.2953, allocations: 4 kB / 0.9629 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001786/0.2955, allocations: 28.03 kB / 0.963 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.2955, allocations: 4 kB / 0.963 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.2957, allocations: 7.906 kB / 0.963 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.2957, allocations: 8.453 kB / 0.963 GB, free: 11.61 MB / 0.7481 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.0002298/0.296, allocations: 249.7 kB / 0.9632 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.447e-05/0.296, allocations: 75 kB / 0.9633 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005803/0.2966, allocations: 336.4 kB / 0.9636 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.2966, allocations: 0 / 0.9636 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.2967, allocations: 8 kB / 0.9636 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.2967, allocations: 0 / 0.9636 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004974/0.2972, allocations: 0.5246 MB / 0.9641 GB, free: 10.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/0.2972, allocations: 7.922 kB / 0.9641 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.2973, allocations: 19.98 kB / 0.9642 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.2973, allocations: 4 kB / 0.9642 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.2974, allocations: 0 / 0.9642 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.2974, allocations: 4 kB / 0.9642 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.2974, allocations: 0 / 0.9642 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005027/0.2979, allocations: 406.3 kB / 0.9646 GB, free: 9.902 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000237/0.2981, allocations: 192.1 kB / 0.9647 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.114e-05/0.2982, allocations: 0 / 0.9647 GB, free: 9.695 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.2984, allocations: 11.98 kB / 0.9648 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.2984, allocations: 4 kB / 0.9648 GB, free: 9.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.2984, allocations: 0 / 0.9648 GB, free: 9.68 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0007888/0.2992, allocations: 0.7215 MB / 0.9655 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2992, allocations: 0 / 0.9655 GB, free: 8.965 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003578/0.2996, allocations: 71.94 kB / 0.9655 GB, free: 8.895 MB / 0.7481 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.0001832/0.2998, allocations: 115.2 kB / 0.9656 GB, free: 8.773 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004456/0.3002, allocations: 211.8 kB / 0.9658 GB, free: 8.566 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3002, allocations: 0 / 0.9658 GB, free: 8.566 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001976/0.3004, allocations: 112.4 kB / 0.966 GB, free: 8.457 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/0.3009, allocations: 61.42 kB / 0.966 GB, free: 8.398 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.3024, allocations: 1.158 MB / 0.9671 GB, free: 7.215 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005032/0.3029, allocations: 0.9438 MB / 0.9681 GB, free: 6.246 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.00018/0.3031, allocations: 77.31 kB / 0.9681 GB, free: 6.164 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.337e-05/0.3032, allocations: 35.42 kB / 0.9682 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of SimCode: time 3.41e-07/0.3032, allocations: 4 kB / 0.9682 GB, free: 6.125 MB / 0.7481 GB Notification: Performance of Templates: time 0.009381/0.3126, allocations: 4.401 MB / 0.9725 GB, free: 1.73 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionNormal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches