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.001227/0.001227, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001617/0.001617, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.3 MB / 240 MB, free: 5.391 MB / 190.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.822/2.822, allocations: 437.7 MB / 0.7117 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004732/0.0004735, allocations: 8 kB / 0.8722 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8035/0.804, allocations: 153.8 MB / 1.022 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.002539/0.8066, allocations: 1.719 MB / 1.024 GB, free: 14.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003606/0.8102, allocations: 1.475 MB / 1.026 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007318/0.811, allocations: 8 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002879/0.8113, allocations: 35.58 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006245/0.8119, allocations: 63.47 kB / 1.026 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.813, allocations: 220.9 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001019/0.8141, allocations: 0.559 MB / 1.026 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006793/0.8148, allocations: 269 kB / 1.027 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003585/0.8151, allocations: 135.3 kB / 1.027 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002476/0.8154, allocations: 174.9 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 4.525e-05/0.8154, allocations: 16 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.8156, allocations: 27.98 kB / 1.027 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.899e-05/0.8156, allocations: 63.64 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001316/0.8158, allocations: 109.5 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006678/0.8165, allocations: 0.5862 MB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.202e-05/0.8165, allocations: 0 / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.386e-06/0.8165, allocations: 0 / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.062e-05/0.8165, allocations: 4 kB / 1.028 GB, free: 10.58 MB / 0.7794 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.001428/0.818, allocations: 0.723 MB / 1.028 GB, free: 9.805 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.818, allocations: 12.03 kB / 1.028 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001317/0.8182, allocations: 59.34 kB / 1.028 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005044/0.8187, allocations: 354.4 kB / 1.029 GB, free: 9.348 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.163e-05/0.8187, allocations: 41.31 kB / 1.029 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.001e-05/0.8188, allocations: 56 kB / 1.029 GB, free: 9.254 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008743/0.8197, allocations: 0.5103 MB / 1.029 GB, free: 8.734 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.8197, allocations: 4 kB / 1.029 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.8198, allocations: 24 kB / 1.029 GB, free: 8.707 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.729e-05/0.8198, allocations: 12 kB / 1.029 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000653/0.8204, allocations: 364.6 kB / 1.03 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002007/0.8225, allocations: 1.465 MB / 1.031 GB, free: 6.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005504/0.823, allocations: 289.3 kB / 1.032 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003801/0.8234, allocations: 185.6 kB / 1.032 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/0.8235, allocations: 7.938 kB / 1.032 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004172/0.8239, allocations: 206.9 kB / 1.032 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 2.144e-06/0.8239, allocations: 0 / 1.032 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0008571/0.8248, allocations: 412.8 kB / 1.032 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.8248, allocations: 85.11 kB / 1.032 GB, free: 5.598 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004951/0.8253, allocations: 405.6 kB / 1.033 GB, free: 5.195 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.684e-05/0.8254, allocations: 29.7 kB / 1.033 GB, free: 5.16 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.8256, allocations: 275.8 kB / 1.033 GB, free: 4.883 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.824e-05/0.8257, allocations: 110.4 kB / 1.033 GB, free: 4.773 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.8257, allocations: 12 kB / 1.033 GB, free: 4.762 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.8259, allocations: 350.7 kB / 1.033 GB, free: 4.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002807/0.8262, allocations: 144.8 kB / 1.034 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003371/0.8265, allocations: 203.3 kB / 1.034 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003388/0.8269, allocations: 187.3 kB / 1.034 GB, free: 3.852 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.8269, allocations: 0 / 1.034 GB, free: 3.852 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007921/0.8277, allocations: 479.5 kB / 1.034 GB, free: 3.375 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.099e-05/0.8278, allocations: 41.69 kB / 1.035 GB, free: 3.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.8278, allocations: 4 kB / 1.035 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.8278, allocations: 12.08 kB / 1.035 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003254/0.8281, allocations: 87.89 kB / 1.035 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.8282, allocations: 0 / 1.035 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003941/0.8286, allocations: 91.34 kB / 1.035 GB, free: 3.137 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6e-05/0.8286, allocations: 19.98 kB / 1.035 GB, free: 3.117 MB / 0.7794 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,$PRE.TRoo1.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002204/0.8289, allocations: 177.7 kB / 1.035 GB, free: 2.934 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/0.8289, allocations: 39.53 kB / 1.035 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006973/0.8296, allocations: 343.2 kB / 1.035 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.8296, allocations: 7.953 kB / 1.035 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.782e-06/0.8297, allocations: 0 / 1.035 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.8297, allocations: 3.984 kB / 1.035 GB, free: 2.543 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001292/0.831, allocations: 0.9842 MB / 1.036 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.831, allocations: 4 kB / 1.036 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.8312, allocations: 68.09 kB / 1.036 GB, free: 1.418 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.736e-06/0.8312, allocations: 4 kB / 1.036 GB, free: 1.414 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.56e-05/0.8313, allocations: 8 kB / 1.036 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.8313, allocations: 0 / 1.036 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.748e-06/0.8313, allocations: 4 kB / 1.036 GB, free: 1.402 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007059/0.832, allocations: 0.5123 MB / 1.037 GB, free: 0.8555 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000139/0.8322, allocations: 132.6 kB / 1.037 GB, free: 0.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.336e-05/0.8322, allocations: 15.98 kB / 1.037 GB, free: 0.6914 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/0.8324, allocations: 12 kB / 1.037 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.209e-05/0.8325, allocations: 27.91 kB / 1.037 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.8325, allocations: 12 kB / 1.037 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003287/0.8329, allocations: 283.2 kB / 1.037 GB, free: 372 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8329, allocations: 4 kB / 1.037 GB, free: 368 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005099/0.8334, allocations: 115.6 kB / 1.037 GB, free: 252 kB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002369/0.8336, allocations: 115.1 kB / 1.037 GB, free: 128 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007975/0.8345, allocations: 386 kB / 1.038 GB, free: 15.74 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.8345, allocations: 4 kB / 1.038 GB, free: 15.73 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0002644/0.8347, allocations: 143.8 kB / 1.038 GB, free: 15.59 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006339/0.8354, allocations: 70.22 kB / 1.038 GB, free: 15.52 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001541/0.8369, allocations: 0.8779 MB / 1.039 GB, free: 14.6 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.8374, allocations: 0.8237 MB / 1.04 GB, free: 13.75 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001723/0.8375, allocations: 43.27 kB / 1.04 GB, free: 13.7 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.966e-05/0.8376, allocations: 31.44 kB / 1.04 GB, free: 13.67 MB / 0.795 GB Notification: Performance of SimCode: time 4.51e-07/0.8376, allocations: 8 kB / 1.04 GB, free: 13.66 MB / 0.795 GB Notification: Performance of Templates: time 0.009818/0.8475, allocations: 3.576 MB / 1.043 GB, free: 10.13 MB / 0.795 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 -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/jenkins/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