Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 107.5 kB / 16.37 MB, free: 6.473 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.00166/0.00166, allocations: 196.9 kB / 17.31 MB, free: 5.824 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.411/1.411, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.569/2.569, allocations: 437.1 MB / 0.7112 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 64.16 kB / 0.8707 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3066/0.3079, allocations: 151.6 MB / 1.019 GB, free: 9.949 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.003536/0.3115, allocations: 2.197 MB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002026/0.3135, allocations: 1.374 MB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.3137, allocations: 7.938 kB / 1.022 GB, free: 6.344 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0005615/0.3143, allocations: 179.1 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003121/0.3146, allocations: 135.3 kB / 1.023 GB, free: 6.035 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003763/0.315, allocations: 142.5 kB / 1.023 GB, free: 5.898 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002827/0.3153, allocations: 231.1 kB / 1.023 GB, free: 5.672 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.3154, allocations: 40.39 kB / 1.023 GB, free: 5.629 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.3156, allocations: 99.5 kB / 1.023 GB, free: 5.531 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.3157, allocations: 91.55 kB / 1.023 GB, free: 5.441 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.3157, allocations: 12 kB / 1.023 GB, free: 5.43 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.3159, allocations: 51.97 kB / 1.023 GB, free: 5.379 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.316, allocations: 103.6 kB / 1.023 GB, free: 5.277 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001197/0.3161, allocations: 131 kB / 1.023 GB, free: 5.148 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.00036/0.3165, allocations: 350.6 kB / 1.024 GB, free: 4.805 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3165, allocations: 0 / 1.024 GB, free: 4.805 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3165, allocations: 0 / 1.024 GB, free: 4.805 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3165, allocations: 4 kB / 1.024 GB, free: 4.801 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008914/0.3174, allocations: 0.688 MB / 1.024 GB, free: 4.062 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.3175, allocations: 8.031 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.205e-05/0.3176, allocations: 44.38 kB / 1.025 GB, free: 4.012 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004099/0.318, allocations: 356.3 kB / 1.025 GB, free: 3.625 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.318, allocations: 384 / 1.025 GB, free: 3.625 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.318, allocations: 11.94 kB / 1.025 GB, free: 3.613 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002211/0.3182, allocations: 81.59 kB / 1.025 GB, free: 3.527 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.3183, allocations: 0 / 1.025 GB, free: 3.527 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.299e-05/0.3183, allocations: 4 kB / 1.025 GB, free: 3.523 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.316e-06/0.3183, allocations: 0 / 1.025 GB, free: 3.523 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001011/0.3184, allocations: 39.92 kB / 1.025 GB, free: 3.484 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006414/0.319, allocations: 452.5 kB / 1.025 GB, free: 2.992 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.3193, allocations: 74.61 kB / 1.025 GB, free: 2.91 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.059e-05/0.3193, allocations: 28.84 kB / 1.026 GB, free: 2.879 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.3194, allocations: 0 / 1.026 GB, free: 2.879 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001637/0.3195, allocations: 79.38 kB / 1.026 GB, free: 2.789 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.493e-06/0.3195, allocations: 0 / 1.026 GB, free: 2.789 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.000359/0.3199, allocations: 145 kB / 1.026 GB, free: 2.641 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.3199, allocations: 59.34 kB / 1.026 GB, free: 2.57 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005362/0.3205, allocations: 0.5294 MB / 1.026 GB, free: 2.031 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.119e-05/0.3205, allocations: 29.7 kB / 1.026 GB, free: 1.996 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001608/0.3207, allocations: 216 kB / 1.027 GB, free: 1.781 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.3207, allocations: 23.73 kB / 1.027 GB, free: 1.758 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.257e-05/0.3208, allocations: 37.7 kB / 1.027 GB, free: 1.715 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.3209, allocations: 358.7 kB / 1.027 GB, free: 1.355 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.3211, allocations: 51.97 kB / 1.027 GB, free: 1.305 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001235/0.3212, allocations: 81.36 kB / 1.027 GB, free: 1.219 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.3214, allocations: 91.47 kB / 1.027 GB, free: 1.125 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3214, allocations: 0 / 1.027 GB, free: 1.125 MB / 0.795 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003031/0.3217, allocations: 193 kB / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3217, allocations: 8.062 kB / 1.027 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3217, allocations: 0 / 1.027 GB, free: 0.9219 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.3217, allocations: 4.109 kB / 1.027 GB, free: 0.918 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.3219, allocations: 31.8 kB / 1.027 GB, free: 0.8867 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.3219, allocations: 3.984 kB / 1.027 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001204/0.322, allocations: 19.89 kB / 1.027 GB, free: 0.8633 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.322, allocations: 4 kB / 1.027 GB, free: 0.8594 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.TWat.tab.nextTimeEvent,$whenCondition1,TWat.tab.nextTimeEventScaled,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEvent,assWatTem.hys.y,$PRE.assWatTem.hys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001725/0.3222, allocations: 185.9 kB / 1.028 GB, free: 0.6719 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.343e-05/0.3223, allocations: 43.47 kB / 1.028 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.514e-05/0.3223, allocations: 43.8 kB / 1.028 GB, free: 0.5859 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.3224, allocations: 3.938 kB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3224, allocations: 4 kB / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3224, allocations: 0 / 1.028 GB, free: 0.5781 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002396/0.3226, allocations: 301.4 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3226, allocations: 0 / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.088e-05/0.3227, allocations: 4 kB / 1.028 GB, free: 236 kB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.3227, allocations: 4 kB / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.838e-06/0.3227, allocations: 0 / 1.028 GB, free: 232 kB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/0.3227, allocations: 3.938 kB / 1.028 GB, free: 228 kB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.3227, allocations: 7.984 kB / 1.028 GB, free: 220 kB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/0.3229, allocations: 152.9 kB / 1.028 GB, free: 48 kB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.323, allocations: 116.5 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.89e-05/0.3231, allocations: 4 kB / 1.028 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.233e-05/0.3232, allocations: 11.92 kB / 1.028 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.096e-05/0.3233, allocations: 15.92 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.3233, allocations: 4 kB / 1.028 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003718/0.3236, allocations: 366.8 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3237, allocations: 0 / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002822/0.3239, allocations: 47.98 kB / 1.029 GB, free: 15.48 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (TWat.tab.nextTimeEventScaled,assWatTem.hys.y,TWat.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001027/0.325, allocations: 406.8 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002699/0.3253, allocations: 95.91 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3253, allocations: 0 / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.932e-05/0.3254, allocations: 32.05 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003705/0.3257, allocations: 58.19 kB / 1.029 GB, free: 15.05 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009753/0.3267, allocations: 0.6441 MB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.3271, allocations: 0.8109 MB / 1.031 GB, free: 13.55 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 7.433e-05/0.3272, allocations: 21.55 kB / 1.031 GB, free: 13.53 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.514e-05/0.3273, allocations: 27.36 kB / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of SimCode: time 2.51e-07/0.3273, allocations: 0 / 1.031 GB, free: 13.5 MB / 0.8106 GB Notification: Performance of Templates: time 0.006868/0.3342, allocations: 2.86 MB / 1.033 GB, free: 10.67 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches