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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.001526/0.001526, allocations: 105.8 kB / 16.27 MB, free: 5.984 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.001704/0.001704, allocations: 193.3 kB / 17.2 MB, free: 5.609 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.44/1.44, allocations: 222.9 MB / 240.9 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.489/2.489, allocations: 437 MB / 0.711 GB, free: 4.543 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 68.3 kB / 0.8699 GB, free: 2.262 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2998, allocations: 151.6 MB / 1.018 GB, free: 10.7 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004122/0.304, allocations: 2.193 MB / 1.02 GB, free: 8.488 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002131/0.3061, allocations: 1.378 MB / 1.021 GB, free: 7.102 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001728/0.3063, allocations: 8 kB / 1.021 GB, free: 7.094 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.000613/0.307, allocations: 179.2 kB / 1.022 GB, free: 6.918 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.3073, allocations: 131.3 kB / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003915/0.3078, allocations: 140.2 kB / 1.022 GB, free: 6.656 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003023/0.3081, allocations: 231.1 kB / 1.022 GB, free: 6.43 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001536/0.3082, allocations: 40.67 kB / 1.022 GB, free: 6.387 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.3084, allocations: 103.4 kB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.3086, allocations: 87.56 kB / 1.022 GB, free: 6.199 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 4.505e-05/0.3086, allocations: 15.94 kB / 1.022 GB, free: 6.184 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001648/0.3088, allocations: 55.97 kB / 1.022 GB, free: 6.129 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.3089, allocations: 103.6 kB / 1.022 GB, free: 6.027 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.3091, allocations: 131 kB / 1.023 GB, free: 5.898 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.000402/0.3095, allocations: 354.6 kB / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3095, allocations: 0 / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3095, allocations: 0 / 1.023 GB, free: 5.551 MB / 0.795 GB Notification: Performance of Transformations before backend: time 9.738e-06/0.3095, allocations: 0 / 1.023 GB, free: 5.551 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.0009556/0.3105, allocations: 0.6685 MB / 1.024 GB, free: 4.832 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.3105, allocations: 19.97 kB / 1.024 GB, free: 4.812 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.933e-05/0.3106, allocations: 44.38 kB / 1.024 GB, free: 4.77 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004175/0.311, allocations: 352.2 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3111, allocations: 8.375 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.88e-05/0.3111, allocations: 7.938 kB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.3113, allocations: 77.64 kB / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.165e-06/0.3113, allocations: 0 / 1.024 GB, free: 4.289 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.3113, allocations: 4 kB / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.3113, allocations: 0 / 1.024 GB, free: 4.285 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.3115, allocations: 39.98 kB / 1.024 GB, free: 4.246 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007182/0.3122, allocations: 460.5 kB / 1.025 GB, free: 3.746 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.3125, allocations: 66.67 kB / 1.025 GB, free: 3.672 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.142e-05/0.3126, allocations: 32.78 kB / 1.025 GB, free: 3.637 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.3126, allocations: 0 / 1.025 GB, free: 3.637 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/0.3128, allocations: 75.48 kB / 1.025 GB, free: 3.551 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 1.983e-06/0.3128, allocations: 3.938 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0004786/0.3133, allocations: 137.1 kB / 1.025 GB, free: 3.406 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.087e-05/0.3134, allocations: 63.28 kB / 1.025 GB, free: 3.332 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008502/0.3143, allocations: 0.5333 MB / 1.025 GB, free: 2.789 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.3143, allocations: 33.7 kB / 1.025 GB, free: 2.75 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000224/0.3145, allocations: 212 kB / 1.026 GB, free: 2.539 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.3146, allocations: 23.73 kB / 1.026 GB, free: 2.516 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.3147, allocations: 37.7 kB / 1.026 GB, free: 2.473 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001789/0.3149, allocations: 358.8 kB / 1.026 GB, free: 2.113 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.3151, allocations: 47.97 kB / 1.026 GB, free: 2.066 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001717/0.3152, allocations: 74.55 kB / 1.026 GB, free: 1.984 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.3155, allocations: 92.09 kB / 1.026 GB, free: 1.891 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3155, allocations: 0 / 1.026 GB, free: 1.891 MB / 0.795 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004506/0.316, allocations: 197.2 kB / 1.026 GB, free: 1.691 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.316, allocations: 4 kB / 1.026 GB, free: 1.688 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.316, allocations: 0 / 1.026 GB, free: 1.688 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.316, allocations: 7.938 kB / 1.026 GB, free: 1.68 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.3162, allocations: 39.92 kB / 1.027 GB, free: 1.641 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.3162, allocations: 0 / 1.027 GB, free: 1.641 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001783/0.3164, allocations: 15.89 kB / 1.027 GB, free: 1.625 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.3164, allocations: 4 kB / 1.027 GB, free: 1.621 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.0002459/0.3167, allocations: 179.3 kB / 1.027 GB, free: 1.438 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.367e-05/0.3168, allocations: 39.53 kB / 1.027 GB, free: 1.398 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.854e-05/0.3169, allocations: 47.8 kB / 1.027 GB, free: 1.352 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.3169, allocations: 3.938 kB / 1.027 GB, free: 1.348 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3169, allocations: 4 kB / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3169, allocations: 0 / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003689/0.3173, allocations: 301.4 kB / 1.027 GB, free: 1 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3173, allocations: 0 / 1.027 GB, free: 1 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.248e-05/0.3173, allocations: 7.938 kB / 1.027 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.3174, allocations: 0 / 1.027 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.3174, allocations: 8 kB / 1.027 GB, free: 0.9844 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.3174, allocations: 3.938 kB / 1.027 GB, free: 0.9805 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.3174, allocations: 3.984 kB / 1.027 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.3177, allocations: 144.6 kB / 1.027 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.3179, allocations: 120.5 kB / 1.027 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.53e-05/0.3179, allocations: 3.938 kB / 1.027 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.3181, allocations: 11.92 kB / 1.027 GB, free: 0.6641 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.485e-05/0.3181, allocations: 15.97 kB / 1.027 GB, free: 0.6484 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.607e-05/0.3181, allocations: 4 kB / 1.027 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005586/0.3187, allocations: 362.8 kB / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3187, allocations: 0 / 1.028 GB, free: 300 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004504/0.3192, allocations: 47.98 kB / 1.028 GB, free: 252 kB / 0.795 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.001416/0.3206, allocations: 421.8 kB / 1.028 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003708/0.321, allocations: 87.97 kB / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.385e-06/0.321, allocations: 0 / 1.028 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.3212, allocations: 31.92 kB / 1.028 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005683/0.3217, allocations: 55.5 kB / 1.028 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001548/0.3233, allocations: 0.6965 MB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005503/0.3239, allocations: 0.8109 MB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.279e-05/0.324, allocations: 23.42 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of SimCode: time 2.505e-06/0.324, allocations: 4 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of Templates: time 0.01011/0.3341, allocations: 4.115 MB / 1.034 GB, free: 10.15 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 -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