Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Examples.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001609/0.001609, allocations: 101.9 kB / 16.27 MB, free: 5.871 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.001587/0.001587, allocations: 184.8 kB / 17.19 MB, free: 5.52 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.432/1.432, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.512/2.512, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001348, allocations: 63.08 kB / 0.8132 GB, free: 32.96 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4216/0.423, allocations: 140.4 MB / 0.9503 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004354/0.4274, allocations: 1.832 MB / 0.952 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004935/0.4279, allocations: 115.6 kB / 0.9522 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.4281, allocations: 0 / 0.9522 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.4283, allocations: 19.8 kB / 0.9522 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001574/0.4285, allocations: 51.55 kB / 0.9522 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001923/0.4287, allocations: 35.95 kB / 0.9523 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003546/0.429, allocations: 167.1 kB / 0.9524 GB, free: 6.703 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.4292, allocations: 36.88 kB / 0.9525 GB, free: 6.664 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.4294, allocations: 47.84 kB / 0.9525 GB, free: 6.617 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.4295, allocations: 67.7 kB / 0.9526 GB, free: 6.551 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.694e-05/0.4296, allocations: 12 kB / 0.9526 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 3.62e-05/0.4296, allocations: 8 kB / 0.9526 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.52e-05/0.4297, allocations: 31.89 kB / 0.9526 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.4298, allocations: 63.67 kB / 0.9527 GB, free: 6.438 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002264/0.43, allocations: 119.9 kB / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.43, allocations: 0 / 0.9528 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.356e-06/0.4301, allocations: 4 kB / 0.9528 GB, free: 6.316 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.459e-05/0.4301, allocations: 4 kB / 0.9528 GB, free: 6.312 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001001/0.4311, allocations: 446.8 kB / 0.9532 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/0.4311, allocations: 11.97 kB / 0.9532 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.958e-05/0.4312, allocations: 16.75 kB / 0.9532 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002888/0.4315, allocations: 210 kB / 0.9534 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.4315, allocations: 4.375 kB / 0.9535 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.4316, allocations: 8.375 kB / 0.9535 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.4319, allocations: 114.7 kB / 0.9536 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.4319, allocations: 4.188 kB / 0.9536 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.432, allocations: 7.938 kB / 0.9536 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.432, allocations: 0 / 0.9536 GB, free: 5.41 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003243/0.4323, allocations: 103.8 kB / 0.9537 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008911/0.4332, allocations: 476.6 kB / 0.9541 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004145/0.4336, allocations: 133.2 kB / 0.9543 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001718/0.4338, allocations: 61.77 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.4339, allocations: 0 / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.4339, allocations: 42.5 kB / 0.9544 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.4339, allocations: 0 / 0.9544 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.000621/0.4345, allocations: 177.5 kB / 0.9545 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.675e-05/0.4346, allocations: 77.11 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.4348, allocations: 171.9 kB / 0.9548 GB, free: 4.074 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.103e-05/0.4349, allocations: 33.7 kB / 0.9548 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.569e-05/0.435, allocations: 112 kB / 0.9549 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/0.435, allocations: 27.62 kB / 0.9549 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.699e-05/0.4351, allocations: 29.7 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4352, allocations: 326.8 kB / 0.9553 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.4354, allocations: 43.97 kB / 0.9553 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.4355, allocations: 57.69 kB / 0.9554 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002924/0.4358, allocations: 101.6 kB / 0.9555 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.4359, allocations: 0 / 0.9555 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003844/0.4362, allocations: 153.7 kB / 0.9556 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.4363, allocations: 12 kB / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4363, allocations: 0 / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.4363, allocations: 0 / 0.9556 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.4365, allocations: 23.98 kB / 0.9556 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.4365, allocations: 3.984 kB / 0.9557 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001194/0.4366, allocations: 7.984 kB / 0.9557 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.4366, allocations: 7.938 kB / 0.9557 GB, free: 3.109 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001156/0.4368, allocations: 121.8 kB / 0.9558 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.336e-05/0.4368, allocations: 19.81 kB / 0.9558 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000473/0.4373, allocations: 158.5 kB / 0.956 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.4373, allocations: 0 / 0.956 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4373, allocations: 0 / 0.956 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.4373, allocations: 0 / 0.956 GB, free: 2.805 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.4377, allocations: 225.5 kB / 0.9562 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.4377, allocations: 4 kB / 0.9562 GB, free: 2.531 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.4378, allocations: 23.92 kB / 0.9562 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.4378, allocations: 0 / 0.9562 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.4379, allocations: 8.172 kB / 0.9562 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4379, allocations: 0 / 0.9562 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4379, allocations: 3.938 kB / 0.9562 GB, free: 2.496 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004667/0.4383, allocations: 318.5 kB / 0.9565 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.796e-05/0.4384, allocations: 85.02 kB / 0.9566 GB, free: 2.066 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.4385, allocations: 4 kB / 0.9566 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001848/0.4387, allocations: 7.984 kB / 0.9566 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.09e-05/0.4387, allocations: 7.984 kB / 0.9566 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/0.4387, allocations: 7.938 kB / 0.9566 GB, free: 2.039 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001055/0.4389, allocations: 128.2 kB / 0.9567 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.81e-07/0.4389, allocations: 0 / 0.9567 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003081/0.4392, allocations: 36 kB / 0.9568 GB, free: 1.879 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001494/0.4393, allocations: 99.23 kB / 0.9569 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000383/0.4397, allocations: 108.1 kB / 0.957 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4397, allocations: 0 / 0.957 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001748/0.4399, allocations: 59.91 kB / 0.957 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004861/0.4404, allocations: 42.83 kB / 0.9571 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006595/0.4411, allocations: 269.1 kB / 0.9573 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.4414, allocations: 0.7045 MB / 0.958 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.725e-05/0.4415, allocations: 15.44 kB / 0.958 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of SimCode: time 3.11e-07/0.4415, allocations: 0 / 0.958 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of Templates: time 0.004649/0.4462, allocations: 1.749 MB / 0.9597 GB, free: 14.79 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches