Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.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.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|opeModWarUpEngTem.PEleNet|opeModWarUpEngTem.TWatIn|opeModWarUpEngTem.TRoo|opeModWarUpEngTem.TEng|opeModWarUpEngTem.QGen_flow|opeModWarUpEngTem.mFue_flow|opeModWarUpEngTem.mAir_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 104.4 kB / 16.35 MB, free: 6.336 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.001642/0.001642, allocations: 195.4 kB / 17.29 MB, free: 5.883 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.403/1.403, allocations: 222.9 MB / 241 MB, free: 15.17 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.294/2.294, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 69.69 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2621, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004078/0.2663, allocations: 2.74 MB / 0.9538 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002596/0.2689, allocations: 1.085 MB / 0.9549 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002998/0.2692, allocations: 4 kB / 0.9549 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.000869/0.2701, allocations: 218.8 kB / 0.9551 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002231/0.2704, allocations: 83.3 kB / 0.9551 GB, free: 3.934 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006752/0.2711, allocations: 175.7 kB / 0.9553 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005484/0.2716, allocations: 406.6 kB / 0.9557 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004278/0.2721, allocations: 217.7 kB / 0.9559 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002239/0.2723, allocations: 151.4 kB / 0.9561 GB, free: 3 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000252/0.2726, allocations: 178.9 kB / 0.9562 GB, free: 2.824 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.856e-05/0.2727, allocations: 40 kB / 0.9563 GB, free: 2.785 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004133/0.2731, allocations: 179.8 kB / 0.9564 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002695/0.2734, allocations: 255.2 kB / 0.9567 GB, free: 2.359 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003475/0.2737, allocations: 357.6 kB / 0.957 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.2748, allocations: 0.965 MB / 0.958 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.2748, allocations: 0 / 0.958 GB, free: 1.039 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.515e-06/0.2748, allocations: 3.938 kB / 0.958 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.109e-05/0.2748, allocations: 0 / 0.958 GB, free: 1.035 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001725/0.2766, allocations: 1.123 MB / 0.9591 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.2766, allocations: 12.03 kB / 0.9591 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.2779, allocations: 243.4 kB / 0.9593 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001326/0.2792, allocations: 0.7189 MB / 0.96 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.2792, allocations: 25.03 kB / 0.96 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-05/0.2793, allocations: 32.38 kB / 0.9601 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007577/0.2801, allocations: 382.5 kB / 0.9604 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.2801, allocations: 3.938 kB / 0.9604 GB, free: 14.4 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.2801, allocations: 12 kB / 0.9604 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.682e-05/0.2802, allocations: 19.97 kB / 0.9605 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008867/0.281, allocations: 414.4 kB / 0.9609 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003142/0.2842, allocations: 1.775 MB / 0.9626 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006184/0.2848, allocations: 215.6 kB / 0.9628 GB, free: 11.87 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002771/0.2851, allocations: 100.8 kB / 0.9629 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.564e-05/0.2852, allocations: 7.938 kB / 0.9629 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.2852, allocations: 42.56 kB / 0.9629 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=20): time 1.994e-06/0.2852, allocations: 0 / 0.9629 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20): time 0.001015/0.2862, allocations: 378.2 kB / 0.9633 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.616e-05/0.2863, allocations: 59.34 kB / 0.9634 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.2876, allocations: 1.243 MB / 0.9646 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.2877, allocations: 33.7 kB / 0.9646 GB, free: 9.957 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003344/0.288, allocations: 424.1 kB / 0.965 GB, free: 9.535 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.835e-05/0.2881, allocations: 67.33 kB / 0.9651 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.426e-05/0.2882, allocations: 53.69 kB / 0.9651 GB, free: 9.41 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.2883, allocations: 318 kB / 0.9654 GB, free: 9.094 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003159/0.2886, allocations: 147.9 kB / 0.9656 GB, free: 8.949 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003438/0.289, allocations: 198.4 kB / 0.9658 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005802/0.2895, allocations: 282 kB / 0.966 GB, free: 8.441 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2896, allocations: 0 / 0.966 GB, free: 8.441 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008588/0.2904, allocations: 466.3 kB / 0.9665 GB, free: 7.98 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.2904, allocations: 10.03 kB / 0.9665 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.2905, allocations: 0 / 0.9665 GB, free: 7.973 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.2905, allocations: 7.938 kB / 0.9665 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.2908, allocations: 55.89 kB / 0.9665 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.2908, allocations: 4 kB / 0.9665 GB, free: 7.906 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.2911, allocations: 39.67 kB / 0.9666 GB, free: 7.867 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.2912, allocations: 19.92 kB / 0.9666 GB, free: 7.848 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 2 (opeModWarUpEngTem.temChe.y,$PRE.opeModWarUpEngTem.temChe.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0002818/0.2914, allocations: 263.7 kB / 0.9669 GB, free: 7.582 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.876e-05/0.2915, allocations: 78.97 kB / 0.9669 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007925/0.2923, allocations: 341.6 kB / 0.9673 GB, free: 7.164 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.2924, allocations: 3.938 kB / 0.9673 GB, free: 7.16 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.2924, allocations: 0 / 0.9673 GB, free: 7.16 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-06/0.2924, allocations: 4 kB / 0.9673 GB, free: 7.156 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001618/0.294, allocations: 1.003 MB / 0.9682 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.294, allocations: 0 / 0.9682 GB, free: 6.078 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002683/0.2943, allocations: 44.16 kB / 0.9683 GB, free: 6.035 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.2943, allocations: 8 kB / 0.9683 GB, free: 6.027 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.278e-05/0.2943, allocations: 11.98 kB / 0.9683 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.2943, allocations: 0 / 0.9683 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.2944, allocations: 11.88 kB / 0.9683 GB, free: 6.004 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007075/0.2951, allocations: 433.7 kB / 0.9687 GB, free: 5.547 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002727/0.2953, allocations: 208 kB / 0.9689 GB, free: 5.324 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.078e-05/0.2954, allocations: 8 kB / 0.9689 GB, free: 5.316 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.2957, allocations: 11.98 kB / 0.9689 GB, free: 5.305 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.2958, allocations: 27.84 kB / 0.969 GB, free: 5.277 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.2958, allocations: 12 kB / 0.969 GB, free: 5.266 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009954/0.2968, allocations: 0.9067 MB / 0.9699 GB, free: 4.348 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.51e-07/0.2968, allocations: 0 / 0.9699 GB, free: 4.348 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004235/0.2972, allocations: 99.75 kB / 0.97 GB, free: 4.25 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (opeModWarUpEngTem.temChe.y) * Number of discrete states: 1 (opeModWarUpEngTem.temChe.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.0002187/0.2975, allocations: 119.2 kB / 0.9701 GB, free: 4.121 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007083/0.2982, allocations: 283.6 kB / 0.9703 GB, free: 3.844 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.2982, allocations: 0 / 0.9703 GB, free: 3.844 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.2985, allocations: 104.1 kB / 0.9704 GB, free: 3.742 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.299, allocations: 67.42 kB / 0.9705 GB, free: 3.676 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00214/0.3012, allocations: 1.364 MB / 0.9718 GB, free: 2.262 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005651/0.3017, allocations: 0.9946 MB / 0.9728 GB, free: 1.238 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0003035/0.302, allocations: 100.7 kB / 0.9729 GB, free: 1.141 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00013/0.3022, allocations: 47.42 kB / 0.973 GB, free: 1.098 MB / 0.7481 GB Notification: Performance of SimCode: time 5.41e-07/0.3022, allocations: 0 / 0.973 GB, free: 1.098 MB / 0.7481 GB Notification: Performance of Templates: time 0.01142/0.3136, allocations: 5.497 MB / 0.9783 GB, free: 11.61 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_EnergyConversionWarmUp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches