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.001312/0.001312, allocations: 113.5 kB / 17.08 MB, free: 5.988 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.001294/0.001294, allocations: 193.2 kB / 20.03 MB, free: 3.059 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.406/1.406, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.68/2.68, allocations: 437.1 MB / 0.7177 GB, free: 4.551 MB / 0.5606 GB " [Timeout remaining time 177] 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.002036/0.002036, allocations: 63.91 kB / 1.028 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2916, allocations: 151.6 MB / 1.176 GB, free: 5.914 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003369/0.295, allocations: 2.212 MB / 1.178 GB, free: 3.684 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002082/0.2971, allocations: 1.533 MB / 1.179 GB, free: 2.133 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.2972, allocations: 8 kB / 1.179 GB, free: 2.125 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001271/0.2974, allocations: 59.2 kB / 1.18 GB, free: 2.066 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00024/0.2976, allocations: 91.08 kB / 1.18 GB, free: 1.977 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006887/0.2983, allocations: 306.9 kB / 1.18 GB, free: 1.68 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006432/0.299, allocations: 0.6449 MB / 1.181 GB, free: 1.035 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005126/0.2995, allocations: 361.8 kB / 1.181 GB, free: 0.668 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002522/0.2998, allocations: 235.1 kB / 1.181 GB, free: 448 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002721/0.3, allocations: 258.8 kB / 1.181 GB, free: 188 kB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 8.986e-05/0.3001, allocations: 68 kB / 1.181 GB, free: 120 kB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001399/0.3003, allocations: 83.98 kB / 1.182 GB, free: 36 kB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.3004, allocations: 131.6 kB / 1.182 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002574/0.3007, allocations: 290.6 kB / 1.182 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007762/0.3015, allocations: 0.7935 MB / 1.183 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3015, allocations: 0 / 1.183 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.166e-06/0.3015, allocations: 0 / 1.183 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.878e-06/0.3015, allocations: 11.94 kB / 1.183 GB, free: 14.81 MB / 0.9356 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.001255/0.3028, allocations: 0.8316 MB / 1.184 GB, free: 13.92 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.3028, allocations: 8.031 kB / 1.184 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001099/0.3029, allocations: 64.56 kB / 1.184 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004405/0.3034, allocations: 359.8 kB / 1.184 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.3034, allocations: 45.69 kB / 1.184 GB, free: 13.41 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.823e-05/0.3035, allocations: 56.38 kB / 1.184 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000867/0.3044, allocations: 0.5069 MB / 1.185 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.3044, allocations: 192 / 1.185 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.452e-05/0.3045, allocations: 27.94 kB / 1.185 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.44e-05/0.3045, allocations: 12 kB / 1.185 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007039/0.3052, allocations: 360.7 kB / 1.185 GB, free: 12.45 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.3072, allocations: 1.45 MB / 1.186 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005855/0.3078, allocations: 285.2 kB / 1.187 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004169/0.3083, allocations: 180.2 kB / 1.187 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.384e-05/0.3083, allocations: 4 kB / 1.187 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004191/0.3087, allocations: 202.8 kB / 1.187 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=34): time 1.814e-06/0.3088, allocations: 0 / 1.187 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of matching and sorting (n=34): time 0.0008539/0.3096, allocations: 395.2 kB / 1.187 GB, free: 9.852 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.744e-05/0.3097, allocations: 85.05 kB / 1.187 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004688/0.3102, allocations: 413.6 kB / 1.188 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.646e-05/0.3102, allocations: 33.7 kB / 1.188 GB, free: 9.301 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002072/0.3104, allocations: 272.4 kB / 1.188 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.558e-05/0.3105, allocations: 111 kB / 1.188 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.3107, allocations: 86.11 kB / 1.188 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001663/0.3108, allocations: 354.8 kB / 1.189 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/0.3111, allocations: 132.8 kB / 1.189 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.3115, allocations: 207.1 kB / 1.189 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006031/0.3121, allocations: 349.1 kB / 1.189 GB, free: 7.75 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3121, allocations: 4 kB / 1.189 GB, free: 7.746 MB / 0.9356 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008513/0.313, allocations: 471.8 kB / 1.19 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/0.313, allocations: 41.69 kB / 1.19 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.313, allocations: 0 / 1.19 GB, free: 7.23 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.3131, allocations: 7.938 kB / 1.19 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003204/0.3134, allocations: 84.02 kB / 1.19 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.3134, allocations: 11.94 kB / 1.19 GB, free: 7.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000353/0.3138, allocations: 79.48 kB / 1.19 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.994e-05/0.3138, allocations: 19.98 kB / 1.19 GB, free: 7.031 MB / 0.9356 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.0002088/0.314, allocations: 169.7 kB / 1.19 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.582e-05/0.3141, allocations: 43.72 kB / 1.19 GB, free: 6.812 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006579/0.3148, allocations: 328.9 kB / 1.19 GB, free: 6.484 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.3148, allocations: 4 kB / 1.19 GB, free: 6.48 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.3148, allocations: 3.938 kB / 1.19 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3148, allocations: 3.984 kB / 1.19 GB, free: 6.473 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001259/0.3161, allocations: 0.97 MB / 1.191 GB, free: 5.43 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.3161, allocations: 4 kB / 1.191 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/0.3163, allocations: 59.91 kB / 1.192 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.3164, allocations: 4 kB / 1.192 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.918e-05/0.3164, allocations: 8 kB / 1.192 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.3164, allocations: 4 kB / 1.192 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3164, allocations: 4.188 kB / 1.192 GB, free: 5.348 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006683/0.3171, allocations: 0.5124 MB / 1.192 GB, free: 4.801 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.3172, allocations: 128.8 kB / 1.192 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.3172, allocations: 8 kB / 1.192 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.3175, allocations: 15.98 kB / 1.192 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.907e-05/0.3175, allocations: 23.97 kB / 1.192 GB, free: 4.609 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.567e-05/0.3176, allocations: 15.94 kB / 1.192 GB, free: 4.594 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000322/0.3179, allocations: 291.2 kB / 1.192 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3179, allocations: 0 / 1.192 GB, free: 4.312 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000443/0.3184, allocations: 107.8 kB / 1.193 GB, free: 4.207 MB / 0.9356 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.0001742/0.3185, allocations: 127 kB / 1.193 GB, free: 4.07 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007177/0.3193, allocations: 379.3 kB / 1.193 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3193, allocations: 0 / 1.193 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.3196, allocations: 151.8 kB / 1.193 GB, free: 3.539 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005746/0.3202, allocations: 66.03 kB / 1.193 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/0.3214, allocations: 0.7886 MB / 1.194 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004676/0.3219, allocations: 0.8198 MB / 1.195 GB, free: 1.793 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001031/0.322, allocations: 35.44 kB / 1.195 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of SimCode: time 2.324e-06/0.322, allocations: 0 / 1.195 GB, free: 1.758 MB / 0.9356 GB Notification: Performance of Templates: time 0.008027/0.33, allocations: 5.045 MB / 1.2 GB, free: 12.72 MB / 0.9512 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: 10.362587535986677]