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) 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.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_10_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_10_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.001603/0.001603, allocations: 117.7 kB / 16.37 MB, free: 6.016 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.001878/0.001878, allocations: 189.7 kB / 17.3 MB, free: 5.613 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.379/1.379, 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 10.1.0-maint.10.0.x/package.mo): time 2.443/2.443, allocations: 437.1 MB / 0.7112 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 63.22 kB / 0.8707 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3498, allocations: 151.6 MB / 1.019 GB, free: 9.848 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003633/0.3535, allocations: 2.217 MB / 1.021 GB, free: 7.621 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002004/0.3555, allocations: 1.529 MB / 1.022 GB, free: 6.074 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001779/0.3557, allocations: 8 kB / 1.022 GB, free: 6.066 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.3558, allocations: 59.2 kB / 1.023 GB, free: 6.008 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0002481/0.3561, allocations: 91.09 kB / 1.023 GB, free: 5.918 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.000669/0.3568, allocations: 308.1 kB / 1.023 GB, free: 5.621 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005681/0.3574, allocations: 0.6487 MB / 1.024 GB, free: 4.973 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004486/0.3578, allocations: 365.7 kB / 1.024 GB, free: 4.605 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002138/0.3581, allocations: 227.2 kB / 1.024 GB, free: 4.383 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.3583, allocations: 258.8 kB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.566e-05/0.3584, allocations: 76 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.3585, allocations: 83.98 kB / 1.024 GB, free: 3.973 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.913e-05/0.3586, allocations: 127.6 kB / 1.025 GB, free: 3.848 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.3589, allocations: 290.6 kB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0006851/0.3596, allocations: 0.7979 MB / 1.026 GB, free: 2.762 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3596, allocations: 0 / 1.026 GB, free: 2.762 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3596, allocations: 0 / 1.026 GB, free: 2.762 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.555e-06/0.3596, allocations: 0 / 1.026 GB, free: 2.762 MB / 0.795 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.00116/0.3607, allocations: 0.8167 MB / 1.026 GB, free: 1.887 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.3608, allocations: 8.031 kB / 1.026 GB, free: 1.879 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.3609, allocations: 60.28 kB / 1.027 GB, free: 1.82 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004156/0.3613, allocations: 359.6 kB / 1.027 GB, free: 1.43 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.704e-05/0.3614, allocations: 45.69 kB / 1.027 GB, free: 1.387 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-05/0.3615, allocations: 56.38 kB / 1.027 GB, free: 1.332 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007647/0.3622, allocations: 0.5031 MB / 1.027 GB, free: 0.8164 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.3622, allocations: 4.188 kB / 1.027 GB, free: 0.8125 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.902e-05/0.3623, allocations: 23.94 kB / 1.027 GB, free: 0.7891 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.3623, allocations: 12 kB / 1.028 GB, free: 0.7773 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006266/0.3629, allocations: 360.6 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001945/0.3649, allocations: 1.438 MB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005334/0.3654, allocations: 289.3 kB / 1.03 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003505/0.3658, allocations: 173.6 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.3658, allocations: 11.92 kB / 1.03 GB, free: 14.44 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003868/0.3662, allocations: 203.4 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=34): time 1.472e-06/0.3663, allocations: 0 / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=34): time 0.0007673/0.367, allocations: 391.4 kB / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.367e-05/0.3671, allocations: 89.05 kB / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004246/0.3675, allocations: 417.5 kB / 1.031 GB, free: 13.32 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.3676, allocations: 33.64 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002275/0.3678, allocations: 263.9 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.827e-05/0.3679, allocations: 114.4 kB / 1.031 GB, free: 12.9 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001262/0.368, allocations: 82.03 kB / 1.031 GB, free: 12.81 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.3682, allocations: 354.8 kB / 1.032 GB, free: 12.46 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.3685, allocations: 136.8 kB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003604/0.3689, allocations: 207 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005757/0.3695, allocations: 340.9 kB / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.3695, allocations: 0 / 1.032 GB, free: 11.73 MB / 0.8106 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007809/0.3703, allocations: 472.5 kB / 1.033 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.107e-05/0.3704, allocations: 41.69 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3704, allocations: 0 / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.3704, allocations: 4 kB / 1.033 GB, free: 11.21 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000304/0.3707, allocations: 79.84 kB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3707, allocations: 7.938 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003698/0.3711, allocations: 83.52 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.772e-05/0.3711, allocations: 16 kB / 1.033 GB, free: 11.03 MB / 0.8106 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.000231/0.3714, allocations: 174.4 kB / 1.033 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.3714, allocations: 47.42 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006337/0.3721, allocations: 324.9 kB / 1.033 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3721, allocations: 8 kB / 1.033 GB, free: 10.47 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.3721, allocations: 3.938 kB / 1.033 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.3721, allocations: 4 kB / 1.033 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001531/0.3736, allocations: 0.9725 MB / 1.034 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.3737, allocations: 4 kB / 1.034 GB, free: 9.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003474/0.374, allocations: 63.89 kB / 1.034 GB, free: 9.348 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.374, allocations: 4 kB / 1.034 GB, free: 9.344 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.847e-05/0.3741, allocations: 8 kB / 1.034 GB, free: 9.336 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/0.3741, allocations: 4 kB / 1.034 GB, free: 9.332 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3741, allocations: 3.938 kB / 1.034 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007975/0.3749, allocations: 0.5124 MB / 1.035 GB, free: 8.781 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.375, allocations: 128.5 kB / 1.035 GB, free: 8.637 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.3751, allocations: 11.94 kB / 1.035 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002125/0.3753, allocations: 15.98 kB / 1.035 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.3754, allocations: 27.91 kB / 1.035 GB, free: 8.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.086e-05/0.3754, allocations: 15.94 kB / 1.035 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0003208/0.3757, allocations: 287.2 kB / 1.035 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3757, allocations: 0 / 1.035 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004935/0.3762, allocations: 119.6 kB / 1.036 GB, free: 8.172 MB / 0.8106 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.0002087/0.3765, allocations: 115.2 kB / 1.036 GB, free: 8.051 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0007053/0.3772, allocations: 376.6 kB / 1.036 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3772, allocations: 0 / 1.036 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.3774, allocations: 142.1 kB / 1.036 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006478/0.3781, allocations: 61.53 kB / 1.036 GB, free: 7.473 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.3793, allocations: 0.7265 MB / 1.037 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.3797, allocations: 0.8275 MB / 1.038 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001427/0.3799, allocations: 43.27 kB / 1.038 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.424e-05/0.38, allocations: 35.44 kB / 1.038 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of SimCode: time 2.41e-07/0.38, allocations: 0 / 1.038 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of Templates: time 0.008373/0.3883, allocations: 3.978 MB / 1.042 GB, free: 1.844 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile (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=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches