Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_9_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_9_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.001176/0.001176, allocations: 108.6 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.001364/0.001364, allocations: 193.7 kB / 16.91 MB, free: 5.754 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.569/1.569, allocations: 222.9 MB / 240.6 MB, free: 15.23 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.207/2.207, allocations: 390.2 MB / 0.665 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 66.78 kB / 0.8127 GB, free: 33.11 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2963/0.2987, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.00455/0.3033, allocations: 2.246 MB / 0.952 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002397/0.3057, allocations: 1.347 MB / 0.9533 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.306, allocations: 0 / 0.9533 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007297/0.3067, allocations: 183.7 kB / 0.9534 GB, free: 5.445 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004268/0.3072, allocations: 115.5 kB / 0.9536 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004696/0.3077, allocations: 135.7 kB / 0.9537 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003787/0.3081, allocations: 231.1 kB / 0.9539 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.3083, allocations: 40.67 kB / 0.9539 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.3085, allocations: 95.5 kB / 0.954 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.3087, allocations: 103.5 kB / 0.9541 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.448e-05/0.3087, allocations: 12 kB / 0.9541 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.3089, allocations: 51.92 kB / 0.9542 GB, free: 4.672 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001104/0.309, allocations: 95.67 kB / 0.9543 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000149/0.3091, allocations: 142.9 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.3095, allocations: 267.5 kB / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3095, allocations: 0 / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3095, allocations: 0 / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.3095, allocations: 4 kB / 0.9547 GB, free: 4.172 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001043/0.3106, allocations: 0.6802 MB / 0.9553 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.3106, allocations: 8.031 kB / 0.9554 GB, free: 3.434 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.395e-05/0.3107, allocations: 44.38 kB / 0.9554 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/0.3112, allocations: 352.3 kB / 0.9557 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.3112, allocations: 4.375 kB / 0.9557 GB, free: 3 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.34e-05/0.3112, allocations: 11.92 kB / 0.9558 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.3114, allocations: 81.66 kB / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3115, allocations: 0 / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3115, allocations: 0 / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.647e-06/0.3115, allocations: 0 / 0.9558 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.3116, allocations: 43.86 kB / 0.9559 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007907/0.3124, allocations: 456.5 kB / 0.9563 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001934/0.3126, allocations: 74.61 kB / 0.9564 GB, free: 2.281 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.851e-05/0.3127, allocations: 28.84 kB / 0.9564 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/0.3127, allocations: 0 / 0.9564 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001674/0.3129, allocations: 67.39 kB / 0.9565 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3129, allocations: 4 kB / 0.9565 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0003726/0.3133, allocations: 149.1 kB / 0.9566 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.3134, allocations: 59.34 kB / 0.9567 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00059/0.314, allocations: 0.5293 MB / 0.9572 GB, free: 1.402 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.314, allocations: 29.7 kB / 0.9572 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001646/0.3142, allocations: 220 kB / 0.9574 GB, free: 1.148 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.3142, allocations: 15.75 kB / 0.9574 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.869e-05/0.3143, allocations: 41.7 kB / 0.9575 GB, free: 1.086 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3144, allocations: 362.8 kB / 0.9578 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.3145, allocations: 47.98 kB / 0.9579 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.3147, allocations: 74.55 kB / 0.9579 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001566/0.3148, allocations: 88.3 kB / 0.958 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3148, allocations: 3.938 kB / 0.958 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003178/0.3152, allocations: 201.1 kB / 0.9582 GB, free: 304 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3152, allocations: 4 kB / 0.9582 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.3152, allocations: 0 / 0.9582 GB, free: 300 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3152, allocations: 4 kB / 0.9582 GB, free: 296 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/0.3154, allocations: 27.86 kB / 0.9583 GB, free: 268 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.3154, allocations: 4 kB / 0.9583 GB, free: 264 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.3155, allocations: 7.906 kB / 0.9583 GB, free: 256 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.3155, allocations: 11.98 kB / 0.9583 GB, free: 244 kB / 0.7325 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.0001852/0.3157, allocations: 183.7 kB / 0.9585 GB, free: 52 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.877e-05/0.3158, allocations: 39.58 kB / 0.9585 GB, free: 12 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.968e-05/0.3159, allocations: 51.73 kB / 0.9585 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3159, allocations: 3.938 kB / 0.9585 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/0.3159, allocations: 4 kB / 0.9586 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.3159, allocations: 0 / 0.9586 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002765/0.3162, allocations: 297.5 kB / 0.9588 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.3162, allocations: 4 kB / 0.9588 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/0.3163, allocations: 0 / 0.9588 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.3163, allocations: 4 kB / 0.9588 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.3163, allocations: 0 / 0.9588 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.3163, allocations: 7.938 kB / 0.9588 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3163, allocations: 0 / 0.9588 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.3165, allocations: 148.9 kB / 0.959 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.425e-05/0.3167, allocations: 124.5 kB / 0.9591 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.152e-05/0.3167, allocations: 4 kB / 0.9591 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.615e-05/0.3168, allocations: 15.92 kB / 0.9591 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.3168, allocations: 15.92 kB / 0.9591 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.05e-05/0.3169, allocations: 4 kB / 0.9591 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003753/0.3172, allocations: 362.8 kB / 0.9595 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3173, allocations: 0 / 0.9595 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002748/0.3175, allocations: 44 kB / 0.9595 GB, free: 14.86 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: 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.001046/0.3186, allocations: 424.5 kB / 0.9599 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.3189, allocations: 91.91 kB / 0.96 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3189, allocations: 4.062 kB / 0.96 GB, free: 14.5 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 7.908e-05/0.319, allocations: 27.98 kB / 0.9601 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003921/0.3194, allocations: 65.36 kB / 0.9601 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.3205, allocations: 0.7591 MB / 0.9609 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003845/0.3209, allocations: 0.8176 MB / 0.9617 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.072e-05/0.321, allocations: 23.44 kB / 0.9617 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of SimCode: time 2.9e-07/0.321, allocations: 0 / 0.9617 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of Templates: time 0.00758/0.3286, allocations: 4.119 MB / 0.9657 GB, free: 8.68 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches