Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHea.TRooSet|conHea.TRoo|conHea.TSupSet|conHea.y|conHea.yPum|conHea.on",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom") translateModel(Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conHea.TRooSet|conHea.TRoo|conHea.TSupSet|conHea.y|conHea.yPum|conHea.on",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001321/0.001321, allocations: 98.56 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 182.9 kB / 16.92 MB, free: 6.918 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.443/1.443, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.79/2.79, allocations: 437.8 MB / 0.7128 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003897/0.0003899, allocations: 8 kB / 0.8735 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7696/0.77, allocations: 153.8 MB / 1.024 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom): time 0.003404/0.7734, allocations: 2.346 MB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002693/0.7762, allocations: 1.388 MB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004295/0.7766, allocations: 15.94 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005207/0.7772, allocations: 91.52 kB / 1.027 GB, free: 12.06 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004855/0.7777, allocations: 95.53 kB / 1.028 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007063/0.7784, allocations: 217.4 kB / 1.028 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006471/0.779, allocations: 439.9 kB / 1.028 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003715/0.7794, allocations: 156.9 kB / 1.028 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002547/0.7797, allocations: 127.2 kB / 1.028 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.7799, allocations: 135.2 kB / 1.029 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.788e-05/0.78, allocations: 8 kB / 1.029 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002141/0.7802, allocations: 55.98 kB / 1.029 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001033/0.7803, allocations: 71.61 kB / 1.029 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001863/0.7805, allocations: 164.7 kB / 1.029 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004988/0.781, allocations: 428.9 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.781, allocations: 0 / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7811, allocations: 4 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.689e-05/0.7811, allocations: 4 kB / 1.029 GB, free: 10.19 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001297/0.7824, allocations: 0.655 MB / 1.03 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.7824, allocations: 8.031 kB / 1.03 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.7826, allocations: 44.38 kB / 1.03 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006359/0.7832, allocations: 380.6 kB / 1.03 GB, free: 9.02 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.52e-05/0.7832, allocations: 20.94 kB / 1.03 GB, free: 9 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.7833, allocations: 31.88 kB / 1.03 GB, free: 8.969 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005159/0.7838, allocations: 251.5 kB / 1.031 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.7838, allocations: 0 / 1.031 GB, free: 8.715 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.806e-05/0.7839, allocations: 12 kB / 1.031 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.7839, allocations: 7.984 kB / 1.031 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003763/0.7843, allocations: 161.7 kB / 1.031 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001527/0.7858, allocations: 0.9605 MB / 1.032 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004004/0.7862, allocations: 134.7 kB / 1.032 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000147/0.7864, allocations: 64.77 kB / 1.032 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.7864, allocations: 0 / 1.032 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.7867, allocations: 104.4 kB / 1.032 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.7867, allocations: 0 / 1.032 GB, free: 7.188 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0005705/0.7872, allocations: 198.1 kB / 1.032 GB, free: 6.988 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.787e-05/0.7873, allocations: 59.34 kB / 1.032 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005619/0.7879, allocations: 417.5 kB / 1.033 GB, free: 6.504 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.7879, allocations: 33.7 kB / 1.033 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002102/0.7881, allocations: 219.9 kB / 1.033 GB, free: 6.242 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.7882, allocations: 43.45 kB / 1.033 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.884e-05/0.7883, allocations: 33.7 kB / 1.033 GB, free: 6.16 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.7884, allocations: 346.7 kB / 1.033 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.7886, allocations: 80.53 kB / 1.033 GB, free: 5.734 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.7888, allocations: 161.6 kB / 1.034 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003637/0.7892, allocations: 200.1 kB / 1.034 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.7892, allocations: 0 / 1.034 GB, free: 5.328 MB / 0.7794 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005764/0.7898, allocations: 296.9 kB / 1.034 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.7899, allocations: 141 kB / 1.034 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/0.7899, allocations: 4 kB / 1.034 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.79, allocations: 3.938 kB / 1.034 GB, free: 4.863 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.7902, allocations: 55.91 kB / 1.034 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.7902, allocations: 4 kB / 1.034 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002182/0.7904, allocations: 31.73 kB / 1.034 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.379e-05/0.7905, allocations: 16 kB / 1.034 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.665e-06/0.7905, allocations: 4 kB / 1.034 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004206/0.7909, allocations: 227.8 kB / 1.034 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.496e-06/0.7909, allocations: 0 / 1.034 GB, free: 4.531 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.312e-06/0.7909, allocations: 4 kB / 1.034 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001688/0.7911, allocations: 51.92 kB / 1.035 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.7911, allocations: 4 kB / 1.035 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.7913, allocations: 27.83 kB / 1.035 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.05e-05/0.7913, allocations: 8 kB / 1.035 GB, free: 4.438 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.TRooMea.tab.nextTimeEvent,$whenCondition1,conHea.hysHea.y,$PRE.conHea.hysHea.y,TRooMea.tab.nextTimeEventScaled,$PRE.TRooMea.tab.nextTimeEventScaled,TRooMea.tab.nextTimeEvent,conHea.conHea.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0002347/0.7916, allocations: 261.5 kB / 1.035 GB, free: 4.172 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.956e-05/0.7916, allocations: 31.56 kB / 1.035 GB, free: 4.141 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.698e-05/0.7917, allocations: 39.11 kB / 1.035 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.7917, allocations: 0 / 1.035 GB, free: 4.102 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.7917, allocations: 3.938 kB / 1.035 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7918, allocations: 0 / 1.035 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003605/0.7921, allocations: 349.3 kB / 1.035 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.7921, allocations: 0 / 1.035 GB, free: 3.707 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.402e-05/0.7922, allocations: 19.92 kB / 1.035 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.7922, allocations: 0 / 1.035 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/0.7923, allocations: 11.98 kB / 1.035 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.7923, allocations: 0 / 1.035 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.7923, allocations: 0 / 1.035 GB, free: 3.676 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.7926, allocations: 183.8 kB / 1.035 GB, free: 3.48 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.775e-05/0.7928, allocations: 116.7 kB / 1.036 GB, free: 3.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.069e-05/0.7928, allocations: 4 kB / 1.036 GB, free: 3.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/0.7929, allocations: 15.98 kB / 1.036 GB, free: 3.328 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.534e-05/0.793, allocations: 15.98 kB / 1.036 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.793, allocations: 11.92 kB / 1.036 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002951/0.7933, allocations: 271.2 kB / 1.036 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of sort global known variables: time 5.51e-07/0.7933, allocations: 0 / 1.036 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004678/0.7938, allocations: 115.6 kB / 1.036 GB, free: 2.922 MB / 0.7794 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,TRooMea.tab.nextTimeEvent,TRooMea.tab.nextTimeEventScaled,conHea.hysHea.y) * Number of discrete states: 3 (TRooMea.tab.nextTimeEventScaled,conHea.hysHea.y,TRooMea.tab.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001045/0.7948, allocations: 423.1 kB / 1.036 GB, free: 2.656 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0006272/0.7955, allocations: 301.3 kB / 1.037 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.7955, allocations: 0 / 1.037 GB, free: 2.363 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.7956, allocations: 51.98 kB / 1.037 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/0.7962, allocations: 95.09 kB / 1.037 GB, free: 2.223 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.7973, allocations: 0.6808 MB / 1.037 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.7977, allocations: 0.784 MB / 1.038 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.22e-05/0.7978, allocations: 35.42 kB / 1.038 GB, free: 0.6758 MB / 0.7794 GB Notification: Performance of SimCode: time 4.51e-07/0.7978, allocations: 4 kB / 1.038 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of Templates: time 0.008532/0.8064, allocations: 4.539 MB / 1.043 GB, free: 12.16 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.makefile (rm -f Buildings_10_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.sim & ./Buildings_10_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_RadiantSystems_Heating_Validation_HighMassSupplyTemperature_TRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.RadiantSystems.Heating.Validation.HighMassSupplyTemperature_TRoom.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches