Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 117.7 kB / 17.13 MB, free: 5.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 191.7 kB / 20.08 MB, free: 2.988 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.783/2.783, allocations: 443.5 MB / 0.7293 GB, free: 14.55 MB / 0.5762 GB " [Timeout remaining time 176] 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.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002038/0.002038, allocations: 59.91 kB / 1.057 GB, free: 2.074 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3141, allocations: 160.7 MB / 1.214 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.004003/0.3181, allocations: 2.226 MB / 1.216 GB, free: 14.8 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002738/0.3208, allocations: 1.533 MB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004364/0.3213, allocations: 8 kB / 1.218 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002134/0.3215, allocations: 59.2 kB / 1.218 GB, free: 13.19 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0004652/0.322, allocations: 99.02 kB / 1.218 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009289/0.3229, allocations: 299.3 kB / 1.218 GB, free: 12.8 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000995/0.3239, allocations: 0.637 MB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005302/0.3244, allocations: 277.8 kB / 1.219 GB, free: 11.88 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003747/0.3248, allocations: 231.2 kB / 1.219 GB, free: 11.65 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004011/0.3252, allocations: 258.8 kB / 1.219 GB, free: 11.4 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001377/0.3253, allocations: 72 kB / 1.22 GB, free: 11.33 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.3255, allocations: 83.98 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.3256, allocations: 131.5 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003209/0.326, allocations: 294.6 kB / 1.22 GB, free: 10.83 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009342/0.3269, allocations: 0.7896 MB / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3269, allocations: 0 / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3269, allocations: 0 / 1.221 GB, free: 10.04 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.666e-05/0.3269, allocations: 3.938 kB / 1.221 GB, free: 10.03 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001715/0.3286, allocations: 0.8356 MB / 1.222 GB, free: 9.133 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.3287, allocations: 12.03 kB / 1.222 GB, free: 9.121 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.3288, allocations: 60.56 kB / 1.222 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005454/0.3294, allocations: 355.8 kB / 1.222 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.813e-05/0.3294, allocations: 41.69 kB / 1.222 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.389e-05/0.3295, allocations: 64.38 kB / 1.222 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009937/0.3305, allocations: 0.5031 MB / 1.223 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.67e-05/0.3305, allocations: 192 / 1.223 GB, free: 8.055 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/0.3306, allocations: 23.94 kB / 1.223 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.3306, allocations: 19.98 kB / 1.223 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007498/0.3313, allocations: 352.7 kB / 1.223 GB, free: 7.668 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002319/0.3337, allocations: 1.45 MB / 1.224 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006644/0.3343, allocations: 269.3 kB / 1.225 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004633/0.3348, allocations: 169.6 kB / 1.225 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.45e-05/0.3348, allocations: 8 kB / 1.225 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004834/0.3353, allocations: 198.9 kB / 1.225 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=34): time 2.324e-06/0.3353, allocations: 3.938 kB / 1.225 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of matching and sorting (n=34): time 0.0009811/0.3363, allocations: 401.1 kB / 1.225 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/0.3364, allocations: 81.11 kB / 1.226 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005312/0.3369, allocations: 409.6 kB / 1.226 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 4.998e-05/0.3369, allocations: 33.7 kB / 1.226 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.3372, allocations: 272.4 kB / 1.226 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001037/0.3373, allocations: 111 kB / 1.226 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/0.3375, allocations: 86.06 kB / 1.226 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001852/0.3376, allocations: 358.8 kB / 1.227 GB, free: 3.715 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003196/0.338, allocations: 132.8 kB / 1.227 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/0.3383, allocations: 207.1 kB / 1.227 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006415/0.339, allocations: 357.8 kB / 1.227 GB, free: 2.98 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.339, allocations: 4 kB / 1.227 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009771/0.34, allocations: 471.2 kB / 1.228 GB, free: 2.508 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 5.832e-05/0.34, allocations: 41.69 kB / 1.228 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.34, allocations: 0 / 1.228 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.3401, allocations: 4 kB / 1.228 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.3404, allocations: 75.84 kB / 1.228 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-05/0.3404, allocations: 8.125 kB / 1.228 GB, free: 2.375 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003999/0.3408, allocations: 91.47 kB / 1.228 GB, free: 2.285 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/0.3409, allocations: 16 kB / 1.228 GB, free: 2.27 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.0002182/0.3411, allocations: 169.8 kB / 1.228 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.416e-05/0.3411, allocations: 43.72 kB / 1.228 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007468/0.3419, allocations: 333.8 kB / 1.229 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.282e-06/0.3419, allocations: 4 kB / 1.229 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.3419, allocations: 3.938 kB / 1.229 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3419, allocations: 0 / 1.229 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001455/0.3434, allocations: 0.9669 MB / 1.23 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.3434, allocations: 4 kB / 1.23 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002615/0.3436, allocations: 63.89 kB / 1.23 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.3436, allocations: 4 kB / 1.23 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/0.3437, allocations: 8 kB / 1.23 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.3437, allocations: 7.938 kB / 1.23 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3437, allocations: 0 / 1.23 GB, free: 0.5859 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000732/0.3444, allocations: 0.5165 MB / 1.23 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/0.3445, allocations: 128.8 kB / 1.23 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.949e-05/0.3446, allocations: 11.94 kB / 1.23 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002369/0.3448, allocations: 15.98 kB / 1.23 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/0.3449, allocations: 23.97 kB / 1.23 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.3449, allocations: 15.94 kB / 1.23 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003592/0.3453, allocations: 291.2 kB / 1.231 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3453, allocations: 0 / 1.231 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005266/0.3458, allocations: 107.8 kB / 1.231 GB, free: 15.44 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0002138/0.346, allocations: 115.1 kB / 1.231 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0008132/0.3469, allocations: 355.4 kB / 1.231 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.3469, allocations: 8 kB / 1.231 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0003085/0.3472, allocations: 139.8 kB / 1.231 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005957/0.3478, allocations: 57.91 kB / 1.231 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001596/0.3494, allocations: 0.7829 MB / 1.232 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005463/0.3499, allocations: 0.8237 MB / 1.233 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.35, allocations: 35.44 kB / 1.233 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of SimCode: time 9.12e-07/0.35, allocations: 0 / 1.233 GB, free: 13.03 MB / 0.9825 GB Notification: Performance of Templates: time 0.009297/0.3593, allocations: 5.075 MB / 1.238 GB, free: 7.973 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.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: 11.143313051899895]