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.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.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.001204/0.001204, allocations: 103.5 kB / 15.98 MB, free: 6.34 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.001454/0.001454, allocations: 197.8 kB / 16.91 MB, free: 6.184 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.362/1.362, allocations: 222.9 MB / 240.6 MB, free: 15.44 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.221/2.221, allocations: 390.3 MB / 0.665 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001305, allocations: 66.97 kB / 0.8127 GB, free: 33.18 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2704, allocations: 140.4 MB / 0.9498 GB, free: 9.191 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionWarmUp): time 0.004532/0.275, allocations: 2.774 MB / 0.9525 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001992/0.277, allocations: 1.047 MB / 0.9535 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002661/0.2773, allocations: 4 kB / 0.9535 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007429/0.2781, allocations: 211.3 kB / 0.9537 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.2785, allocations: 59.56 kB / 0.9538 GB, free: 5.074 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006124/0.2791, allocations: 159.8 kB / 0.9539 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006033/0.2797, allocations: 407.7 kB / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003769/0.2801, allocations: 213.8 kB / 0.9545 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002144/0.2803, allocations: 155.2 kB / 0.9547 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.2805, allocations: 179 kB / 0.9548 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.958e-05/0.2806, allocations: 40 kB / 0.9549 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003598/0.281, allocations: 183.8 kB / 0.955 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002364/0.2812, allocations: 255.2 kB / 0.9553 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003393/0.2816, allocations: 357.5 kB / 0.9556 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007631/0.2823, allocations: 0.7483 MB / 0.9564 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2824, allocations: 0 / 0.9564 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2824, allocations: 0 / 0.9564 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.611e-05/0.2824, allocations: 4 kB / 0.9564 GB, free: 2.402 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.002142/0.2846, allocations: 1.127 MB / 0.9575 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.2846, allocations: 8.031 kB / 0.9575 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001303/0.2859, allocations: 239.4 kB / 0.9577 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.2873, allocations: 0.7267 MB / 0.9584 GB, free: 200 kB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.2873, allocations: 21.03 kB / 0.9584 GB, free: 180 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.523e-05/0.2874, allocations: 28.38 kB / 0.9585 GB, free: 152 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009435/0.2883, allocations: 386.5 kB / 0.9588 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.2883, allocations: 3.938 kB / 0.9588 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.63e-05/0.2884, allocations: 16 kB / 0.9588 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.2884, allocations: 11.98 kB / 0.9589 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.2894, allocations: 418.3 kB / 0.9593 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003575/0.293, allocations: 1.791 MB / 0.961 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006891/0.2937, allocations: 218.6 kB / 0.9612 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002982/0.294, allocations: 96.8 kB / 0.9613 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.075e-05/0.2941, allocations: 4 kB / 0.9613 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.26e-05/0.2941, allocations: 42.56 kB / 0.9613 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=20): time 2.575e-06/0.2941, allocations: 3.938 kB / 0.9614 GB, free: 13.06 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20): time 0.001256/0.2954, allocations: 370.5 kB / 0.9617 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.345e-05/0.2954, allocations: 55.41 kB / 0.9618 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/0.2971, allocations: 1.243 MB / 0.963 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.873e-05/0.2971, allocations: 33.7 kB / 0.963 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004831/0.2976, allocations: 432.1 kB / 0.9634 GB, free: 10.89 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.909e-05/0.2977, allocations: 67.31 kB / 0.9635 GB, free: 10.83 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.2978, allocations: 53.69 kB / 0.9635 GB, free: 10.77 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.2979, allocations: 318 kB / 0.9638 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003473/0.2983, allocations: 147.9 kB / 0.964 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/0.2987, allocations: 205.9 kB / 0.9642 GB, free: 10.09 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006236/0.2993, allocations: 280.1 kB / 0.9644 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2993, allocations: 0 / 0.9644 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009503/0.3003, allocations: 460.2 kB / 0.9649 GB, free: 9.34 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.257e-05/0.3003, allocations: 11.92 kB / 0.9649 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.3003, allocations: 4 kB / 0.9649 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.3003, allocations: 3.938 kB / 0.9649 GB, free: 9.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003342/0.3007, allocations: 64.06 kB / 0.965 GB, free: 9.258 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.3007, allocations: 7.938 kB / 0.965 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/0.301, allocations: 35.67 kB / 0.965 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.301, allocations: 11.98 kB / 0.965 GB, free: 9.203 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.0004164/0.3015, allocations: 269.7 kB / 0.9653 GB, free: 8.93 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.3017, allocations: 82.95 kB / 0.9653 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009726/0.3027, allocations: 329.7 kB / 0.9657 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.3027, allocations: 0 / 0.9657 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3027, allocations: 0 / 0.9657 GB, free: 8.52 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3027, allocations: 3.984 kB / 0.9657 GB, free: 8.516 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001762/0.3045, allocations: 1.004 MB / 0.9666 GB, free: 7.438 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3045, allocations: 0 / 0.9666 GB, free: 7.438 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002695/0.3048, allocations: 51.91 kB / 0.9667 GB, free: 7.387 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.396e-06/0.3048, allocations: 7.984 kB / 0.9667 GB, free: 7.379 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.3048, allocations: 4 kB / 0.9667 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.3048, allocations: 0 / 0.9667 GB, free: 7.375 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.3048, allocations: 4 kB / 0.9667 GB, free: 7.371 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007504/0.3056, allocations: 441.5 kB / 0.9671 GB, free: 6.906 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002339/0.3058, allocations: 204 kB / 0.9673 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.37e-05/0.3059, allocations: 8 kB / 0.9673 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.3062, allocations: 19.98 kB / 0.9674 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.3063, allocations: 23.91 kB / 0.9674 GB, free: 6.637 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.3063, allocations: 8 kB / 0.9674 GB, free: 6.629 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001116/0.3074, allocations: 0.9028 MB / 0.9683 GB, free: 5.715 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3074, allocations: 0 / 0.9683 GB, free: 5.715 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004667/0.3079, allocations: 103.8 kB / 0.9684 GB, free: 5.613 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.0002345/0.3081, allocations: 123.2 kB / 0.9685 GB, free: 5.48 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008444/0.309, allocations: 289.2 kB / 0.9688 GB, free: 5.199 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.309, allocations: 0 / 0.9688 GB, free: 5.199 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.3093, allocations: 100.6 kB / 0.9689 GB, free: 5.102 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005265/0.3098, allocations: 73.81 kB / 0.9689 GB, free: 5.031 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002972/0.3128, allocations: 1.678 MB / 0.9706 GB, free: 3.301 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006765/0.3135, allocations: 0.9926 MB / 0.9715 GB, free: 2.281 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000214/0.3137, allocations: 55.36 kB / 0.9716 GB, free: 2.227 MB / 0.7481 GB Notification: Performance of SimCode: time 5.91e-07/0.3138, allocations: 3.938 kB / 0.9716 GB, free: 2.223 MB / 0.7481 GB Notification: Performance of Templates: time 0.01566/0.3294, allocations: 8.933 MB / 0.9803 GB, free: 9.324 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 -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