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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001504/0.001504, allocations: 109.3 kB / 15.99 MB, free: 5.91 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.001484/0.001484, allocations: 191 kB / 16.91 MB, free: 5.758 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.359/1.359, allocations: 222.9 MB / 240.6 MB, free: 13.68 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.235/2.235, allocations: 390.2 MB / 0.665 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 64.14 kB / 0.8127 GB, free: 32.48 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2743/0.2758, allocations: 140.4 MB / 0.9498 GB, free: 9.203 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.004439/0.2802, allocations: 2.304 MB / 0.952 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002197/0.2825, allocations: 0.9222 MB / 0.9529 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002109/0.2827, allocations: 4 kB / 0.9529 GB, free: 5.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007666/0.2835, allocations: 195.5 kB / 0.9531 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.2838, allocations: 59.62 kB / 0.9532 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004376/0.2843, allocations: 87.91 kB / 0.9533 GB, free: 5.613 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003578/0.2847, allocations: 227 kB / 0.9535 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.2849, allocations: 97.61 kB / 0.9536 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.285, allocations: 83.53 kB / 0.9536 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.2852, allocations: 103.4 kB / 0.9537 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.2852, allocations: 16 kB / 0.9538 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003216/0.2855, allocations: 155.8 kB / 0.9539 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002005/0.2858, allocations: 215.3 kB / 0.9541 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002212/0.286, allocations: 266 kB / 0.9544 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000607/0.2866, allocations: 0.5651 MB / 0.9549 GB, free: 3.906 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.2866, allocations: 4 kB / 0.9549 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2866, allocations: 0 / 0.9549 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.185e-05/0.2867, allocations: 0 / 0.9549 GB, free: 3.902 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.001444/0.2881, allocations: 0.9761 MB / 0.9559 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.2882, allocations: 8.031 kB / 0.9559 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005907/0.2887, allocations: 123.8 kB / 0.956 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007863/0.2895, allocations: 0.5934 MB / 0.9566 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.939e-05/0.2896, allocations: 8.375 kB / 0.9566 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.2896, allocations: 12.38 kB / 0.9566 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004057/0.29, allocations: 194.2 kB / 0.9568 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.2901, allocations: 4.188 kB / 0.9568 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.2901, allocations: 7.938 kB / 0.9568 GB, free: 1.883 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.824e-06/0.2901, allocations: 4 kB / 0.9568 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/0.2905, allocations: 231.8 kB / 0.957 GB, free: 1.652 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.2918, allocations: 0.9216 MB / 0.9579 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006546/0.2925, allocations: 310.5 kB / 0.9582 GB, free: 376 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.2927, allocations: 108.9 kB / 0.9583 GB, free: 264 kB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007432/0.2935, allocations: 244.9 kB / 0.9586 GB, free: 0 / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.2935, allocations: 34.61 kB / 0.9586 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=9): time 1.142e-06/0.2935, allocations: 0 / 0.9586 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of matching and sorting (n=9): time 0.0008292/0.2944, allocations: 404.5 kB / 0.959 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.2944, allocations: 55.41 kB / 0.959 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.2956, allocations: 0.9935 MB / 0.96 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.123e-05/0.2956, allocations: 25.7 kB / 0.96 GB, free: 14.45 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002821/0.2959, allocations: 344 kB / 0.9603 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 3.287e-05/0.296, allocations: 31.55 kB / 0.9604 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.296, allocations: 29.7 kB / 0.9604 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.2961, allocations: 310 kB / 0.9607 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001997/0.2964, allocations: 95.95 kB / 0.9608 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002108/0.2966, allocations: 122.5 kB / 0.9609 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003925/0.297, allocations: 218.8 kB / 0.9611 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.297, allocations: 7.938 kB / 0.9611 GB, free: 13.28 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005755/0.2976, allocations: 324.5 kB / 0.9614 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.2976, allocations: 4 kB / 0.9614 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.2976, allocations: 0 / 0.9614 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.2976, allocations: 4 kB / 0.9614 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001732/0.2978, allocations: 23.97 kB / 0.9615 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.2978, allocations: 4 kB / 0.9615 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001707/0.298, allocations: 19.8 kB / 0.9615 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.633e-05/0.298, allocations: 4 kB / 0.9615 GB, free: 12.9 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.0002657/0.2983, allocations: 245.7 kB / 0.9617 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.875e-05/0.2984, allocations: 75 kB / 0.9618 GB, free: 12.57 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006162/0.299, allocations: 332.4 kB / 0.9621 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.299, allocations: 0 / 0.9621 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2991, allocations: 4 kB / 0.9621 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.2991, allocations: 4 kB / 0.9621 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/0.2996, allocations: 0.5323 MB / 0.9626 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.2996, allocations: 3.938 kB / 0.9626 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.2998, allocations: 23.97 kB / 0.9627 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.2998, allocations: 0 / 0.9627 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.697e-05/0.2998, allocations: 8 kB / 0.9627 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.2998, allocations: 0 / 0.9627 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2998, allocations: 0 / 0.9627 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005595/0.3004, allocations: 402.6 kB / 0.9631 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001954/0.3006, allocations: 188.1 kB / 0.9632 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/0.3007, allocations: 96 / 0.9632 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001766/0.3008, allocations: 11.94 kB / 0.9633 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.3009, allocations: 7.984 kB / 0.9633 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.3009, allocations: 4 kB / 0.9633 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008616/0.3018, allocations: 0.7176 MB / 0.964 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3e-07/0.3018, allocations: 0 / 0.964 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003613/0.3022, allocations: 67.94 kB / 0.964 GB, free: 10.2 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.0002244/0.3024, allocations: 114.3 kB / 0.9641 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004827/0.3029, allocations: 219.8 kB / 0.9643 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3029, allocations: 0 / 0.9643 GB, free: 9.863 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002154/0.3031, allocations: 111.9 kB / 0.9645 GB, free: 9.754 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004891/0.3036, allocations: 67.31 kB / 0.9645 GB, free: 9.688 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.3057, allocations: 1.39 MB / 0.9659 GB, free: 8.266 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000591/0.3063, allocations: 0.9454 MB / 0.9668 GB, free: 7.297 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.3064, allocations: 35.44 kB / 0.9668 GB, free: 7.262 MB / 0.7481 GB Notification: Performance of SimCode: time 5.01e-07/0.3064, allocations: 0 / 0.9668 GB, free: 7.262 MB / 0.7481 GB Notification: Performance of Templates: time 0.01119/0.3176, allocations: 7.17 MB / 0.9738 GB, free: 128 kB / 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 -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