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.1-maint.10.0.x/package.mo", uses=false) 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=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.00171/0.00171, allocations: 111.9 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001886/0.001887, allocations: 196.5 kB / 16.54 MB, free: 6.668 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.425/1.425, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.743/2.743, allocations: 437 MB / 0.7103 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001746/0.001746, allocations: 59.91 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9089/0.9107, allocations: 151.6 MB / 1.017 GB, free: 2.656 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003603/0.9143, allocations: 2.224 MB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00213/0.9165, allocations: 1.529 MB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002082/0.9167, allocations: 8 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001732/0.9169, allocations: 59.2 kB / 1.021 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002505/0.9171, allocations: 91.08 kB / 1.021 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007067/0.9179, allocations: 295.4 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005947/0.9185, allocations: 0.6449 MB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004973/0.919, allocations: 361.7 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.9192, allocations: 235.2 kB / 1.023 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002789/0.9195, allocations: 250.7 kB / 1.023 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.908e-05/0.9196, allocations: 68 kB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001341/0.9197, allocations: 83.98 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.338e-05/0.9198, allocations: 139.5 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.9201, allocations: 282.6 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007249/0.9208, allocations: 0.7691 MB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.9208, allocations: 4 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.603e-06/0.9208, allocations: 0 / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.9209, allocations: 0 / 1.024 GB, free: 11.61 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.001208/0.9221, allocations: 0.8051 MB / 1.025 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.9221, allocations: 16.02 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001201/0.9223, allocations: 60.19 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004228/0.9227, allocations: 359.6 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.13e-05/0.9228, allocations: 45.69 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.71e-05/0.9228, allocations: 56.38 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007967/0.9236, allocations: 0.507 MB / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.545e-05/0.9237, allocations: 192 / 1.026 GB, free: 9.664 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.352e-05/0.9237, allocations: 27.94 kB / 1.026 GB, free: 9.637 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.9237, allocations: 12 kB / 1.026 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006741/0.9244, allocations: 368.6 kB / 1.026 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001985/0.9264, allocations: 1.445 MB / 1.028 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005604/0.927, allocations: 289.3 kB / 1.028 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000394/0.9274, allocations: 179.8 kB / 1.028 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.249e-05/0.9274, allocations: 11.98 kB / 1.028 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004445/0.9279, allocations: 202.8 kB / 1.028 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=34): time 1.603e-06/0.9279, allocations: 0 / 1.028 GB, free: 7.059 MB / 0.7794 GB Notification: Performance of matching and sorting (n=34): time 0.0008043/0.9287, allocations: 394.1 kB / 1.029 GB, free: 6.668 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.187e-05/0.9288, allocations: 81.11 kB / 1.029 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004328/0.9292, allocations: 413.6 kB / 1.029 GB, free: 6.156 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 5.09e-05/0.9293, allocations: 33.7 kB / 1.029 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.9295, allocations: 267.9 kB / 1.029 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 7.352e-05/0.9296, allocations: 106.5 kB / 1.03 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/0.9297, allocations: 94.02 kB / 1.03 GB, free: 5.645 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.9299, allocations: 346.8 kB / 1.03 GB, free: 5.297 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002903/0.9302, allocations: 132.8 kB / 1.03 GB, free: 5.168 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.9305, allocations: 207 kB / 1.03 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006129/0.9311, allocations: 351 kB / 1.031 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.614e-06/0.9311, allocations: 0 / 1.031 GB, free: 4.566 MB / 0.7794 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007891/0.9319, allocations: 469.2 kB / 1.031 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.081e-05/0.932, allocations: 37.69 kB / 1.031 GB, free: 4.055 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.932, allocations: 4 kB / 1.031 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.932, allocations: 8 kB / 1.031 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002947/0.9323, allocations: 80.09 kB / 1.031 GB, free: 3.965 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.435e-05/0.9324, allocations: 15.86 kB / 1.031 GB, free: 3.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003485/0.9327, allocations: 75.34 kB / 1.031 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.9328, allocations: 23.98 kB / 1.031 GB, free: 3.852 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,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.0002664/0.933, allocations: 165.8 kB / 1.032 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.994e-05/0.9331, allocations: 39.44 kB / 1.032 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006269/0.9337, allocations: 331.5 kB / 1.032 GB, free: 3.312 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.9337, allocations: 7.938 kB / 1.032 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.9337, allocations: 3.938 kB / 1.032 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.9338, allocations: 7.984 kB / 1.032 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.9349, allocations: 0.9707 MB / 1.033 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.9349, allocations: 0 / 1.033 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002294/0.9352, allocations: 63.91 kB / 1.033 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.9352, allocations: 192 / 1.033 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.9352, allocations: 12 kB / 1.033 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.9352, allocations: 4 kB / 1.033 GB, free: 2.168 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.9352, allocations: 4 kB / 1.033 GB, free: 2.164 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006199/0.9359, allocations: 0.5096 MB / 1.033 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.936, allocations: 128.6 kB / 1.034 GB, free: 1.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.936, allocations: 8 kB / 1.034 GB, free: 1.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.9362, allocations: 11.98 kB / 1.034 GB, free: 1.457 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.397e-05/0.9363, allocations: 35.89 kB / 1.034 GB, free: 1.422 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.007e-05/0.9364, allocations: 11.94 kB / 1.034 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003143/0.9367, allocations: 287.2 kB / 1.034 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.9367, allocations: 0 / 1.034 GB, free: 1.137 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004886/0.9372, allocations: 111.6 kB / 1.034 GB, free: 1.027 MB / 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 (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.0002052/0.9374, allocations: 119.1 kB / 1.034 GB, free: 0.9023 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0007793/0.9382, allocations: 395.1 kB / 1.034 GB, free: 0.5039 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.9382, allocations: 3.938 kB / 1.034 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002793/0.9385, allocations: 135.8 kB / 1.035 GB, free: 376 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005989/0.9391, allocations: 70.27 kB / 1.035 GB, free: 304 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.9404, allocations: 0.7394 MB / 1.035 GB, free: 15.51 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.9409, allocations: 0.8237 MB / 1.036 GB, free: 14.66 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.00015/0.9411, allocations: 47.2 kB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.249e-05/0.9412, allocations: 31.44 kB / 1.036 GB, free: 14.58 MB / 0.795 GB Notification: Performance of SimCode: time 5.61e-07/0.9412, allocations: 0 / 1.036 GB, free: 14.58 MB / 0.795 GB Notification: Performance of Templates: time 0.008491/0.9497, allocations: 3.97 MB / 1.04 GB, free: 10.66 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