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.001518/0.001519, allocations: 101.6 kB / 16.37 MB, free: 6.43 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.0015/0.0015, allocations: 195.8 kB / 17.31 MB, free: 5.781 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.16 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.362/2.362, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 62.86 kB / 0.814 GB, free: 32.68 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3476, 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.00377/0.3514, allocations: 2.214 MB / 0.9533 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002586/0.354, allocations: 1.525 MB / 0.9548 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003266/0.3544, allocations: 8 kB / 0.9548 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001688/0.3545, allocations: 59.2 kB / 0.9548 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003026/0.3549, allocations: 91.08 kB / 0.9549 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009846/0.3559, allocations: 299.3 kB / 0.9552 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0006487/0.3566, allocations: 0.6527 MB / 0.9559 GB, free: 3.191 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004908/0.3571, allocations: 361.7 kB / 0.9562 GB, free: 2.828 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.3574, allocations: 231.2 kB / 0.9564 GB, free: 2.602 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.3576, allocations: 262.7 kB / 0.9567 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001207/0.3578, allocations: 72 kB / 0.9567 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001451/0.3579, allocations: 79.98 kB / 0.9568 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001352/0.3581, allocations: 131.6 kB / 0.9569 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002438/0.3583, allocations: 294.5 kB / 0.9572 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007303/0.359, allocations: 0.794 MB / 0.958 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3591, allocations: 0 / 0.958 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.587e-06/0.3591, allocations: 0 / 0.958 GB, free: 0.9805 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.3591, allocations: 0 / 0.958 GB, free: 0.9805 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.001266/0.3604, allocations: 0.8168 MB / 0.9588 GB, free: 108 kB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.3604, allocations: 8.031 kB / 0.9588 GB, free: 100 kB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.3605, allocations: 64.19 kB / 0.9589 GB, free: 36 kB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004719/0.361, allocations: 359.6 kB / 0.9592 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.3611, allocations: 41.69 kB / 0.9592 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.958e-05/0.3612, allocations: 56.38 kB / 0.9593 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008256/0.362, allocations: 0.5031 MB / 0.9598 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/0.362, allocations: 8.188 kB / 0.9598 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.268e-05/0.3621, allocations: 23.94 kB / 0.9598 GB, free: 15 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.3621, allocations: 12 kB / 0.9598 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006893/0.3628, allocations: 360.6 kB / 0.9602 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/0.365, allocations: 1.438 MB / 0.9616 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006184/0.3656, allocations: 289.3 kB / 0.9619 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004294/0.3661, allocations: 177.6 kB / 0.962 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.27e-05/0.3661, allocations: 7.984 kB / 0.962 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004436/0.3666, allocations: 210.8 kB / 0.9622 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=34): time 2.084e-06/0.3666, allocations: 0 / 0.9622 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34): time 0.0008915/0.3675, allocations: 388.8 kB / 0.9626 GB, free: 12.04 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/0.3676, allocations: 85.11 kB / 0.9627 GB, free: 11.94 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005098/0.3681, allocations: 417.5 kB / 0.9631 GB, free: 11.52 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.804e-05/0.3681, allocations: 29.7 kB / 0.9631 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.3684, allocations: 259.9 kB / 0.9634 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.3685, allocations: 118.4 kB / 0.9635 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.3686, allocations: 86.03 kB / 0.9636 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3688, allocations: 346.8 kB / 0.9639 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002846/0.3691, allocations: 136.8 kB / 0.964 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003267/0.3694, allocations: 207.1 kB / 0.9642 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005622/0.37, allocations: 352.6 kB / 0.9646 GB, free: 9.949 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.37, allocations: 0 / 0.9646 GB, free: 9.949 MB / 0.7481 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008246/0.3708, allocations: 474.5 kB / 0.965 GB, free: 9.477 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/0.3709, allocations: 37.7 kB / 0.965 GB, free: 9.434 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.3709, allocations: 0 / 0.965 GB, free: 9.434 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/0.3709, allocations: 4 kB / 0.965 GB, free: 9.43 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.3712, allocations: 79.89 kB / 0.9651 GB, free: 9.352 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.3713, allocations: 7.875 kB / 0.9651 GB, free: 9.344 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.3716, allocations: 83.33 kB / 0.9652 GB, free: 9.262 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.186e-05/0.3717, allocations: 20.06 kB / 0.9652 GB, free: 9.242 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.0002317/0.3719, allocations: 165.8 kB / 0.9654 GB, free: 9.07 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.227e-05/0.372, allocations: 43.44 kB / 0.9654 GB, free: 9.027 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006756/0.3727, allocations: 331.1 kB / 0.9657 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.3727, allocations: 4 kB / 0.9657 GB, free: 8.691 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.3727, allocations: 7.938 kB / 0.9658 GB, free: 8.684 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.3727, allocations: 0 / 0.9658 GB, free: 8.684 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.374, allocations: 0.977 MB / 0.9667 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.753e-06/0.3741, allocations: 12.03 kB / 0.9667 GB, free: 7.621 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.3743, allocations: 55.91 kB / 0.9668 GB, free: 7.566 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.3743, allocations: 4 kB / 0.9668 GB, free: 7.562 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.116e-05/0.3743, allocations: 11.94 kB / 0.9668 GB, free: 7.551 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.814e-06/0.3744, allocations: 7.984 kB / 0.9668 GB, free: 7.543 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.3744, allocations: 3.938 kB / 0.9668 GB, free: 7.539 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006216/0.375, allocations: 0.5084 MB / 0.9673 GB, free: 6.996 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.869e-05/0.3751, allocations: 128.5 kB / 0.9674 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.3752, allocations: 12 kB / 0.9674 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.3754, allocations: 12 kB / 0.9674 GB, free: 6.828 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.468e-05/0.3755, allocations: 27.91 kB / 0.9675 GB, free: 6.801 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.353e-05/0.3755, allocations: 15.92 kB / 0.9675 GB, free: 6.785 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003068/0.3758, allocations: 291.2 kB / 0.9678 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3758, allocations: 0 / 0.9678 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004934/0.3763, allocations: 107.6 kB / 0.9679 GB, free: 6.398 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.0001927/0.3765, allocations: 115.2 kB / 0.968 GB, free: 6.277 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007516/0.3773, allocations: 387.3 kB / 0.9683 GB, free: 5.887 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.3773, allocations: 0 / 0.9683 GB, free: 5.887 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002545/0.3775, allocations: 136.5 kB / 0.9685 GB, free: 5.754 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/0.3781, allocations: 61.53 kB / 0.9685 GB, free: 5.691 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00125/0.3794, allocations: 0.7354 MB / 0.9693 GB, free: 4.906 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004102/0.3798, allocations: 0.8275 MB / 0.9701 GB, free: 4.047 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001531/0.38, allocations: 43.27 kB / 0.9701 GB, free: 4.008 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.099e-05/0.38, allocations: 31.44 kB / 0.9701 GB, free: 3.98 MB / 0.7481 GB Notification: Performance of SimCode: time 6.61e-07/0.38, allocations: 0 / 0.9701 GB, free: 3.98 MB / 0.7481 GB Notification: Performance of Templates: time 0.008842/0.3889, allocations: 3.969 MB / 0.974 GB, free: 60 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 cvode -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