Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001974/0.001974, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002592/0.002592, allocations: 161.7 kB / 23.54 MB, free: 0.8906 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.661/1.661, allocations: 177.1 MB / 203.9 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.793/2.793, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.591e-05/3.767e-05, allocations: 6.062 kB / 0.7864 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature): time 0.004688/0.004726, allocations: 2.165 MB / 0.7885 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002866/0.007592, allocations: 1.432 MB / 0.7899 GB, free: 9.195 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.007739, allocations: 4 kB / 0.7899 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007401/0.008479, allocations: 183.9 kB / 0.7901 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005129/0.008992, allocations: 176.3 kB / 0.7903 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003198/0.009312, allocations: 122.3 kB / 0.7904 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003729/0.009685, allocations: 251 kB / 0.7906 GB, free: 8.484 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.009838, allocations: 20.58 kB / 0.7906 GB, free: 8.469 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002236/0.01006, allocations: 131.6 kB / 0.7908 GB, free: 8.34 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.01024, allocations: 83.73 kB / 0.7908 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.68e-05/0.01028, allocations: 12 kB / 0.7909 GB, free: 8.246 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.01043, allocations: 51.91 kB / 0.7909 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.01058, allocations: 100.3 kB / 0.791 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.000129/0.01071, allocations: 67.66 kB / 0.7911 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005844/0.01129, allocations: 352.3 kB / 0.7914 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.014e-05/0.0113, allocations: 4 kB / 0.7914 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.405e-06/0.01131, allocations: 0 / 0.7914 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.01132, allocations: 0 / 0.7914 GB, free: 7.684 MB / 0.7448 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.0013/0.01262, allocations: 0.6181 MB / 0.792 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.134e-05/0.01268, allocations: 12.02 kB / 0.792 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.01281, allocations: 52.61 kB / 0.7921 GB, free: 6.973 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005823/0.01339, allocations: 307.3 kB / 0.7924 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.306e-05/0.01341, allocations: 4.375 kB / 0.7924 GB, free: 6.641 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/0.01344, allocations: 8.375 kB / 0.7924 GB, free: 6.633 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.0137, allocations: 101.5 kB / 0.7925 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.01371, allocations: 3.984 kB / 0.7925 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.01373, allocations: 8 kB / 0.7925 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.01374, allocations: 0 / 0.7925 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001293/0.01387, allocations: 39.92 kB / 0.7925 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.01503, allocations: 381.1 kB / 0.7929 GB, free: 6.07 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.01526, allocations: 75.84 kB / 0.793 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.446e-05/0.01534, allocations: 29.38 kB / 0.793 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.01536, allocations: 0 / 0.793 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.0156, allocations: 102.4 kB / 0.7931 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=6): time 1.112e-06/0.0156, allocations: 0 / 0.7931 GB, free: 5.84 MB / 0.7448 GB Notification: Performance of matching and sorting (n=6): time 0.0004415/0.01604, allocations: 157.8 kB / 0.7932 GB, free: 5.68 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.01609, allocations: 51.41 kB / 0.7933 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007403/0.01683, allocations: 0.5431 MB / 0.7938 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.454e-05/0.01687, allocations: 33.7 kB / 0.7938 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.0171, allocations: 220 kB / 0.7941 GB, free: 4.809 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.01713, allocations: 17.16 kB / 0.7941 GB, free: 4.793 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.671e-05/0.01721, allocations: 45.64 kB / 0.7941 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002365/0.01745, allocations: 358.7 kB / 0.7945 GB, free: 4.383 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001299/0.01758, allocations: 53.16 kB / 0.7945 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.01775, allocations: 104.2 kB / 0.7946 GB, free: 4.215 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000192/0.01794, allocations: 86.7 kB / 0.7947 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.01794, allocations: 0 / 0.7947 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003923/0.01833, allocations: 223.2 kB / 0.7949 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.01835, allocations: 4 kB / 0.7949 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.381e-06/0.01835, allocations: 1.344 kB / 0.7949 GB, free: 3.898 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.01838, allocations: 7.984 kB / 0.7949 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.01852, allocations: 23.92 kB / 0.7949 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.01853, allocations: 0.8125 kB / 0.7949 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.01865, allocations: 8 kB / 0.7949 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.01867, allocations: 13.95 kB / 0.795 GB, free: 3.848 MB / 0.7448 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.0002232/0.0189, allocations: 181.7 kB / 0.7951 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.315e-05/0.01897, allocations: 51.61 kB / 0.7952 GB, free: 3.609 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003252/0.0193, allocations: 141.6 kB / 0.7953 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.0193, allocations: 0.75 kB / 0.7953 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.057e-06/0.01931, allocations: 3.984 kB / 0.7953 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.01931, allocations: 3.438 kB / 0.7953 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003207/0.01963, allocations: 237.1 kB / 0.7955 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01963, allocations: 0 / 0.7955 GB, free: 3.188 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.296e-05/0.01967, allocations: 8 kB / 0.7956 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.01967, allocations: 0 / 0.7956 GB, free: 3.18 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.01968, allocations: 4 kB / 0.7956 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01968, allocations: 0 / 0.7956 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01968, allocations: 80 / 0.7956 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.02, allocations: 172.7 kB / 0.7957 GB, free: 2.988 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.436e-05/0.02008, allocations: 40.3 kB / 0.7958 GB, free: 2.949 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.169e-05/0.02012, allocations: 4 kB / 0.7958 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.888e-05/0.02021, allocations: 10.14 kB / 0.7958 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.905e-05/0.02028, allocations: 11.98 kB / 0.7958 GB, free: 2.926 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.02029, allocations: 3.984 kB / 0.7958 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0005095/0.0208, allocations: 370.8 kB / 0.7961 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.0208, allocations: 0 / 0.7961 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002913/0.02109, allocations: 45.28 kB / 0.7962 GB, free: 2.52 MB / 0.7448 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.002169/0.02326, allocations: 457.4 kB / 0.7966 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000291/0.02355, allocations: 95.22 kB / 0.7967 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.02355, allocations: 1.281 kB / 0.7967 GB, free: 2.176 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 9.271e-05/0.02365, allocations: 27.92 kB / 0.7967 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.0241, allocations: 68.48 kB / 0.7968 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.02546, allocations: 0.6471 MB / 0.7974 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.02574, allocations: 220.4 kB / 0.7977 GB, free: 1.172 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.338e-05/0.02584, allocations: 29.77 kB / 0.7977 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.748e-05/0.02592, allocations: 28.48 kB / 0.7977 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of SimCode: time 8.41e-07/0.02592, allocations: 0 / 0.7977 GB, free: 1.113 MB / 0.7448 GB Notification: Performance of Templates: time 0.00903/0.03495, allocations: 3.036 MB / 0.8007 GB, free: 14.14 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & ./Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.455673618009314]