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.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.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.001292/0.001292, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.00114/0.00114, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.364/1.364, allocations: 222.9 MB / 241 MB, free: 14.99 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.255/2.255, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001358, allocations: 69.16 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.287, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.005329/0.2924, allocations: 2.181 MB / 0.9532 GB, free: 5.855 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002935/0.2954, allocations: 1.37 MB / 0.9546 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001458/0.2955, allocations: 7.938 kB / 0.9546 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007548/0.2963, allocations: 191.6 kB / 0.9548 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004331/0.2968, allocations: 127.4 kB / 0.9549 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005321/0.2973, allocations: 147.1 kB / 0.955 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003895/0.2977, allocations: 235.1 kB / 0.9553 GB, free: 3.785 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001901/0.2979, allocations: 48.36 kB / 0.9553 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001767/0.2981, allocations: 87.58 kB / 0.9554 GB, free: 3.648 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001888/0.2983, allocations: 91.55 kB / 0.9555 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.723e-05/0.2984, allocations: 12 kB / 0.9555 GB, free: 3.547 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.2986, allocations: 63.89 kB / 0.9556 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001368/0.2987, allocations: 87.69 kB / 0.9556 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000177/0.2989, allocations: 130.9 kB / 0.9558 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005778/0.2995, allocations: 370.5 kB / 0.9561 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.2995, allocations: 0 / 0.9561 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.305e-06/0.2995, allocations: 4 kB / 0.9561 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.2995, allocations: 0 / 0.9561 GB, free: 2.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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001289/0.3008, allocations: 0.6725 MB / 0.9568 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.3009, allocations: 8.031 kB / 0.9568 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.301, allocations: 48.31 kB / 0.9568 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.3017, allocations: 356.3 kB / 0.9572 GB, free: 1.734 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.3017, allocations: 12.31 kB / 0.9572 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.3018, allocations: 11.94 kB / 0.9572 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002464/0.302, allocations: 77.66 kB / 0.9573 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.302, allocations: 3.938 kB / 0.9573 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.3021, allocations: 0 / 0.9573 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.3021, allocations: 0 / 0.9573 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.3023, allocations: 35.98 kB / 0.9573 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.3033, allocations: 456.5 kB / 0.9577 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003038/0.3036, allocations: 70.67 kB / 0.9578 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.3037, allocations: 24.84 kB / 0.9578 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.896e-05/0.3038, allocations: 0 / 0.9578 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002322/0.304, allocations: 75.33 kB / 0.9579 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 6.342e-06/0.304, allocations: 12.09 kB / 0.9579 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0005771/0.3046, allocations: 137.1 kB / 0.958 GB, free: 0.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.48e-05/0.3047, allocations: 63.34 kB / 0.9581 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000974/0.3057, allocations: 0.5254 MB / 0.9586 GB, free: 140 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.3058, allocations: 33.7 kB / 0.9587 GB, free: 100 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003074/0.3061, allocations: 216 kB / 0.9589 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.751e-05/0.3061, allocations: 23.73 kB / 0.9589 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.3063, allocations: 41.7 kB / 0.9589 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002134/0.3065, allocations: 362.8 kB / 0.9593 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001939/0.3067, allocations: 47.98 kB / 0.9593 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.307, allocations: 76.52 kB / 0.9594 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.3073, allocations: 85.69 kB / 0.9595 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.982e-06/0.3073, allocations: 0 / 0.9595 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006096/0.3079, allocations: 203.4 kB / 0.9597 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.308, allocations: 4 kB / 0.9597 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.308, allocations: 0 / 0.9597 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.626e-05/0.308, allocations: 4 kB / 0.9597 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000226/0.3083, allocations: 27.92 kB / 0.9597 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/0.3083, allocations: 4 kB / 0.9597 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.3086, allocations: 7.906 kB / 0.9597 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.783e-05/0.3086, allocations: 7.984 kB / 0.9597 GB, free: 14.97 MB / 0.7481 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.0003146/0.3089, allocations: 189.8 kB / 0.9599 GB, free: 14.78 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.27e-05/0.309, allocations: 35.53 kB / 0.9599 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001301/0.3092, allocations: 47.8 kB / 0.96 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.3092, allocations: 7.938 kB / 0.96 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3092, allocations: 0 / 0.96 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.3092, allocations: 0 / 0.96 GB, free: 14.68 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.3097, allocations: 293.8 kB / 0.9603 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.3097, allocations: 4 kB / 0.9603 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.367e-05/0.3098, allocations: 4 kB / 0.9603 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.3098, allocations: 4 kB / 0.9603 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.3098, allocations: 4 kB / 0.9603 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.3098, allocations: 3.938 kB / 0.9603 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.3098, allocations: 3.938 kB / 0.9603 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004172/0.3103, allocations: 148.5 kB / 0.9604 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.3105, allocations: 124.5 kB / 0.9605 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.593e-05/0.3105, allocations: 4 kB / 0.9605 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.3107, allocations: 15.86 kB / 0.9606 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.454e-05/0.3108, allocations: 15.98 kB / 0.9606 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.59e-05/0.3108, allocations: 0 / 0.9606 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0006459/0.3115, allocations: 362.8 kB / 0.9609 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3115, allocations: 4 kB / 0.9609 GB, free: 13.63 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000456/0.312, allocations: 36 kB / 0.961 GB, free: 13.59 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.001724/0.3137, allocations: 422.4 kB / 0.9614 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004257/0.3142, allocations: 91.91 kB / 0.9615 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.3142, allocations: 4.062 kB / 0.9615 GB, free: 13.24 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001356/0.3143, allocations: 27.98 kB / 0.9615 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006299/0.315, allocations: 58.69 kB / 0.9615 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.3166, allocations: 0.6364 MB / 0.9622 GB, free: 12.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005828/0.3172, allocations: 0.8176 MB / 0.963 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.3174, allocations: 21.55 kB / 0.963 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.941e-05/0.3175, allocations: 23.44 kB / 0.963 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of SimCode: time 3.807e-06/0.3175, allocations: 0 / 0.963 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of Templates: time 0.04423/0.3617, allocations: 2.869 MB / 0.9658 GB, free: 8.77 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 -s gbode -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