Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 106.3 kB / 16.37 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001737/0.001737, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.414/1.414, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.355/2.355, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 60.53 kB / 0.814 GB, free: 32.78 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3178, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.004144/0.322, allocations: 2.224 MB / 0.9533 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002726/0.3248, allocations: 1.529 MB / 0.9548 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000466/0.3253, allocations: 8 kB / 0.9548 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.3255, allocations: 59.2 kB / 0.9548 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000456/0.326, allocations: 87.09 kB / 0.9549 GB, free: 4.125 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009381/0.327, allocations: 299.2 kB / 0.9552 GB, free: 3.836 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0009125/0.3279, allocations: 0.6527 MB / 0.9559 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005877/0.3285, allocations: 353.8 kB / 0.9562 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003659/0.3289, allocations: 239.1 kB / 0.9564 GB, free: 2.594 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004075/0.3293, allocations: 254.8 kB / 0.9567 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001729/0.3295, allocations: 72 kB / 0.9567 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000208/0.3297, allocations: 83.98 kB / 0.9568 GB, free: 2.191 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.3298, allocations: 131.5 kB / 0.9569 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003202/0.3302, allocations: 286.6 kB / 0.9572 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008869/0.331, allocations: 0.8018 MB / 0.958 GB, free: 0.9766 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.336e-06/0.3311, allocations: 3.938 kB / 0.958 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.725e-06/0.3311, allocations: 0 / 0.958 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.606e-05/0.3311, allocations: 0 / 0.958 GB, free: 0.9727 MB / 0.7325 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.001872/0.333, allocations: 0.8129 MB / 0.9588 GB, free: 104 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.3331, allocations: 12.03 kB / 0.9588 GB, free: 92 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001484/0.3332, allocations: 64.19 kB / 0.9589 GB, free: 28 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005682/0.3338, allocations: 355.7 kB / 0.9592 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.082e-05/0.3339, allocations: 41.69 kB / 0.9592 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.194e-05/0.3339, allocations: 60.36 kB / 0.9593 GB, free: 15.54 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009242/0.3349, allocations: 0.507 MB / 0.9598 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.3349, allocations: 192 / 0.9598 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.784e-05/0.335, allocations: 27.92 kB / 0.9598 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.335, allocations: 12 kB / 0.9598 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007186/0.3357, allocations: 360.7 kB / 0.9602 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.338, allocations: 1.434 MB / 0.9616 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005557/0.3386, allocations: 285.3 kB / 0.9618 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/0.339, allocations: 185.5 kB / 0.962 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.339, allocations: 7.984 kB / 0.962 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003993/0.3394, allocations: 210.8 kB / 0.9622 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.3394, allocations: 0 / 0.9622 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34): time 0.0007957/0.3402, allocations: 383.1 kB / 0.9626 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001333/0.3404, allocations: 89.09 kB / 0.9627 GB, free: 11.93 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004564/0.3408, allocations: 413.5 kB / 0.9631 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.521e-05/0.3409, allocations: 33.7 kB / 0.9631 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.3411, allocations: 263.9 kB / 0.9634 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.325e-05/0.3412, allocations: 114.4 kB / 0.9635 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.3414, allocations: 89.97 kB / 0.9636 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.3416, allocations: 346.8 kB / 0.9639 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.3419, allocations: 136.8 kB / 0.964 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003356/0.3422, allocations: 207.1 kB / 0.9642 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005831/0.3428, allocations: 348.5 kB / 0.9645 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.3428, allocations: 0 / 0.9645 GB, free: 9.941 MB / 0.7481 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008302/0.3437, allocations: 474.5 kB / 0.965 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.3437, allocations: 41.89 kB / 0.965 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.3437, allocations: 0 / 0.965 GB, free: 9.422 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.098e-05/0.3438, allocations: 4 kB / 0.965 GB, free: 9.418 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.3441, allocations: 83.83 kB / 0.9651 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.3441, allocations: 7.938 kB / 0.9651 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003487/0.3445, allocations: 79.33 kB / 0.9652 GB, free: 9.25 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.3445, allocations: 16 kB / 0.9652 GB, free: 9.234 MB / 0.7481 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.0002165/0.3447, allocations: 169.8 kB / 0.9654 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.3448, allocations: 43.44 kB / 0.9654 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006787/0.3455, allocations: 329.5 kB / 0.9657 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-06/0.3455, allocations: 7.984 kB / 0.9657 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.3455, allocations: 3.938 kB / 0.9658 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.86e-06/0.3455, allocations: 0 / 0.9658 GB, free: 8.676 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001275/0.3468, allocations: 0.9785 MB / 0.9667 GB, free: 7.621 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.3468, allocations: 4 kB / 0.9667 GB, free: 7.617 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.3471, allocations: 60.09 kB / 0.9668 GB, free: 7.559 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.3471, allocations: 4 kB / 0.9668 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.3471, allocations: 8 kB / 0.9668 GB, free: 7.547 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.3471, allocations: 7.938 kB / 0.9668 GB, free: 7.539 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/0.3471, allocations: 7.984 kB / 0.9668 GB, free: 7.531 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006343/0.3478, allocations: 0.516 MB / 0.9673 GB, free: 6.984 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.3479, allocations: 124.6 kB / 0.9674 GB, free: 6.844 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.825e-05/0.3479, allocations: 11.98 kB / 0.9674 GB, free: 6.832 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.3482, allocations: 12 kB / 0.9674 GB, free: 6.82 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.3482, allocations: 27.97 kB / 0.9675 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.3483, allocations: 11.94 kB / 0.9675 GB, free: 6.781 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003208/0.3486, allocations: 291.2 kB / 0.9678 GB, free: 6.5 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.1e-07/0.3486, allocations: 0 / 0.9678 GB, free: 6.5 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004787/0.3491, allocations: 111.6 kB / 0.9679 GB, free: 6.391 MB / 0.7481 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.0001953/0.3493, allocations: 111.2 kB / 0.968 GB, free: 6.273 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007449/0.35, allocations: 395 kB / 0.9683 GB, free: 5.875 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3501, allocations: 0 / 0.9683 GB, free: 5.875 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002527/0.3503, allocations: 135.8 kB / 0.9685 GB, free: 5.742 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005695/0.3509, allocations: 64.34 kB / 0.9685 GB, free: 5.68 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.3521, allocations: 0.738 MB / 0.9693 GB, free: 4.895 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.3525, allocations: 0.8275 MB / 0.9701 GB, free: 4.035 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001372/0.3527, allocations: 43.27 kB / 0.9701 GB, free: 3.996 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.753e-05/0.3527, allocations: 31.44 kB / 0.9701 GB, free: 3.969 MB / 0.7481 GB Notification: Performance of SimCode: time 3.1e-07/0.3527, allocations: 0 / 0.9701 GB, free: 3.969 MB / 0.7481 GB Notification: Performance of Templates: time 0.008453/0.3612, allocations: 3.956 MB / 0.974 GB, free: 52 kB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches