Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00221/0.00221, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00226/0.00226, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.644/1.644, allocations: 177.1 MB / 203.1 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.468/3.468, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWat.y.1.|per.TWatMax|assWatTem.assMes.u",fileNamePrefix="Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.515e-06/2.515e-06, allocations: 0 / 0.8775 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.499e-05/3.751e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.007823/0.00786, allocations: 2.204 MB / 0.8796 GB, free: 4.441 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.005401/0.01326, allocations: 1.486 MB / 0.8811 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002329/0.01349, allocations: 0.5 kB / 0.8811 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.01461, allocations: 181.6 kB / 0.8812 GB, free: 2.781 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0008997/0.01551, allocations: 175.6 kB / 0.8814 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006226/0.01613, allocations: 119.5 kB / 0.8815 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006793/0.01681, allocations: 251 kB / 0.8818 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000222/0.01703, allocations: 20.53 kB / 0.8818 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004559/0.01749, allocations: 131.6 kB / 0.8819 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003608/0.01785, allocations: 87.72 kB / 0.882 GB, free: 2.012 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.827e-05/0.01793, allocations: 8 kB / 0.882 GB, free: 2.004 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002707/0.0182, allocations: 55.91 kB / 0.8821 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000224/0.01842, allocations: 95.62 kB / 0.8821 GB, free: 1.855 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0002247/0.01865, allocations: 71.66 kB / 0.8822 GB, free: 1.785 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0009522/0.0196, allocations: 350.7 kB / 0.8826 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.0196, allocations: 4 kB / 0.8826 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.963e-06/0.01961, allocations: 0 / 0.8826 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.133e-05/0.01963, allocations: 4 kB / 0.8826 GB, free: 1.434 MB / 0.8386 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.002142/0.02177, allocations: 0.755 MB / 0.8833 GB, free: 0.6406 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.195e-05/0.02183, allocations: 8.031 kB / 0.8833 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001975/0.02203, allocations: 48.66 kB / 0.8833 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008824/0.02291, allocations: 293 kB / 0.8836 GB, free: 276 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.02294, allocations: 8.359 kB / 0.8836 GB, free: 268 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.634e-05/0.02297, allocations: 4.375 kB / 0.8836 GB, free: 264 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003486/0.02332, allocations: 107.5 kB / 0.8837 GB, free: 144 kB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.02333, allocations: 7.938 kB / 0.8838 GB, free: 136 kB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.702e-05/0.02336, allocations: 8 kB / 0.8838 GB, free: 128 kB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.02337, allocations: 0 / 0.8838 GB, free: 128 kB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001932/0.02356, allocations: 27.98 kB / 0.8838 GB, free: 100 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001466/0.02503, allocations: 499.5 kB / 0.8843 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003793/0.02541, allocations: 75.09 kB / 0.8843 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001171/0.02552, allocations: 19.69 kB / 0.8844 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.02556, allocations: 4 kB / 0.8844 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003247/0.02588, allocations: 114.7 kB / 0.8845 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 2.144e-06/0.02589, allocations: 0 / 0.8845 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.0006642/0.02655, allocations: 137.3 kB / 0.8846 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.124e-05/0.02663, allocations: 59.41 kB / 0.8847 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.02797, allocations: 0.5885 MB / 0.8852 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.501e-05/0.02803, allocations: 33.7 kB / 0.8853 GB, free: 14.47 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005087/0.02854, allocations: 294.7 kB / 0.8855 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.445e-05/0.0286, allocations: 23.89 kB / 0.8856 GB, free: 14.16 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001637/0.02877, allocations: 47.36 kB / 0.8856 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0006205/0.02939, allocations: 0.5664 MB / 0.8862 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.02957, allocations: 36.09 kB / 0.8862 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/0.02987, allocations: 104.7 kB / 0.8863 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003586/0.03023, allocations: 90.61 kB / 0.8864 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/0.03024, allocations: 256 / 0.8864 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006722/0.03091, allocations: 177.3 kB / 0.8866 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.03093, allocations: 8 kB / 0.8866 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.03095, allocations: 4 kB / 0.8866 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.337e-05/0.03097, allocations: 0 / 0.8866 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002417/0.03121, allocations: 23.98 kB / 0.8866 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.03122, allocations: 0 / 0.8866 GB, free: 13.06 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002466/0.03147, allocations: 23.95 kB / 0.8866 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.855e-05/0.03151, allocations: 4 kB / 0.8866 GB, free: 13.03 MB / 0.8542 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.0003215/0.03183, allocations: 184.4 kB / 0.8868 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.03195, allocations: 43.72 kB / 0.8868 GB, free: 12.8 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004961/0.03245, allocations: 125.6 kB / 0.887 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.03245, allocations: 0 / 0.887 GB, free: 12.67 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.03246, allocations: 4 kB / 0.887 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.03247, allocations: 0 / 0.887 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006797/0.03315, allocations: 308.5 kB / 0.8872 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.03315, allocations: 0 / 0.8872 GB, free: 12.33 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.815e-05/0.03321, allocations: 8 kB / 0.8873 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.03321, allocations: 0 / 0.8873 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.582e-05/0.03324, allocations: 7.984 kB / 0.8873 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.03324, allocations: 0 / 0.8873 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.03324, allocations: 3.938 kB / 0.8873 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005251/0.03377, allocations: 168 kB / 0.8874 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.03392, allocations: 35.72 kB / 0.8875 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.93e-05/0.034, allocations: 8 kB / 0.8875 GB, free: 12.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.03415, allocations: 7.984 kB / 0.8875 GB, free: 12.07 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001025/0.03426, allocations: 11.98 kB / 0.8875 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.03427, allocations: 4 kB / 0.8875 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007995/0.03507, allocations: 366.8 kB / 0.8878 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.8e-07/0.03507, allocations: 0 / 0.8878 GB, free: 11.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004986/0.03557, allocations: 43.94 kB / 0.8879 GB, free: 11.66 MB / 0.8542 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 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.004781/0.04035, allocations: 451.9 kB / 0.8883 GB, free: 11.39 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004898/0.04084, allocations: 91.58 kB / 0.8884 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.04085, allocations: 4 kB / 0.8884 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001724/0.04102, allocations: 39.61 kB / 0.8884 GB, free: 11.25 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007435/0.04176, allocations: 68.42 kB / 0.8885 GB, free: 11.19 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.04399, allocations: 0.5899 MB / 0.8891 GB, free: 10.57 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004013/0.04439, allocations: 205.6 kB / 0.8893 GB, free: 10.35 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001501/0.04454, allocations: 21.64 kB / 0.8893 GB, free: 10.32 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.04467, allocations: 24.48 kB / 0.8893 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.193e-06/0.04467, allocations: 4 kB / 0.8893 GB, free: 10.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.0145/0.05918, allocations: 3.038 MB / 0.8923 GB, free: 7.316 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.11274956597481]