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.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.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.001261/0.001261, allocations: 102.2 kB / 16.27 MB, free: 6.414 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.001399/0.001399, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.363/1.363, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.218/2.218, allocations: 390.3 MB / 0.6653 GB, free: 0.7227 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 70.23 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2444, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.003578/0.248, allocations: 2.22 MB / 0.9524 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002297/0.2503, allocations: 1.525 MB / 0.9539 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004089/0.2507, allocations: 8 kB / 0.9539 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002107/0.251, allocations: 63.19 kB / 0.954 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003944/0.2514, allocations: 83.11 kB / 0.9541 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008081/0.2522, allocations: 299.3 kB / 0.9544 GB, free: 4.66 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0007656/0.253, allocations: 0.645 MB / 0.955 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005389/0.2535, allocations: 361.7 kB / 0.9553 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003123/0.2539, allocations: 235.1 kB / 0.9556 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003042/0.2542, allocations: 246.8 kB / 0.9558 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001151/0.2543, allocations: 72 kB / 0.9559 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001735/0.2545, allocations: 87.92 kB / 0.956 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000104/0.2546, allocations: 127.6 kB / 0.9561 GB, free: 2.898 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002621/0.2549, allocations: 294.6 kB / 0.9564 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000684/0.2555, allocations: 0.7596 MB / 0.9571 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.2556, allocations: 3.938 kB / 0.9571 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.403e-06/0.2556, allocations: 4 kB / 0.9571 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.636e-05/0.2556, allocations: 0 / 0.9571 GB, free: 1.84 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.001324/0.2569, allocations: 0.8181 MB / 0.9579 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.257, allocations: 8.031 kB / 0.9579 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.2571, allocations: 64.19 kB / 0.958 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.2575, allocations: 355.7 kB / 0.9583 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.954e-05/0.2576, allocations: 49.67 kB / 0.9584 GB, free: 468 kB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.099e-05/0.2577, allocations: 56.38 kB / 0.9584 GB, free: 412 kB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008536/0.2585, allocations: 0.4991 MB / 0.9589 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.531e-05/0.2586, allocations: 192 / 0.9589 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.2586, allocations: 31.94 kB / 0.9589 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.2586, allocations: 19.98 kB / 0.9589 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006883/0.2593, allocations: 356.7 kB / 0.9593 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002062/0.2614, allocations: 1.449 MB / 0.9607 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005825/0.262, allocations: 285.4 kB / 0.961 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004266/0.2624, allocations: 185.5 kB / 0.9612 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.903e-05/0.2625, allocations: 11.98 kB / 0.9612 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000428/0.2629, allocations: 202.8 kB / 0.9614 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=34): time 3.126e-06/0.2629, allocations: 0 / 0.9614 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of matching and sorting (n=34): time 0.0008665/0.2638, allocations: 390.3 kB / 0.9617 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.2639, allocations: 81.11 kB / 0.9618 GB, free: 12.79 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004396/0.2643, allocations: 417.5 kB / 0.9622 GB, free: 12.38 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/0.2644, allocations: 33.69 kB / 0.9622 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.2646, allocations: 259.9 kB / 0.9625 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.212e-05/0.2647, allocations: 118.4 kB / 0.9626 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/0.2648, allocations: 93.97 kB / 0.9627 GB, free: 11.86 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.2649, allocations: 346.8 kB / 0.963 GB, free: 11.51 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003042/0.2652, allocations: 132.8 kB / 0.9631 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003245/0.2656, allocations: 203.1 kB / 0.9633 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005562/0.2661, allocations: 353.2 kB / 0.9637 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2662, allocations: 0 / 0.9637 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008277/0.267, allocations: 466.5 kB / 0.9641 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.267, allocations: 33.7 kB / 0.9642 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.2671, allocations: 0 / 0.9642 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.2671, allocations: 4 kB / 0.9642 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/0.2674, allocations: 88.02 kB / 0.9642 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.2674, allocations: 7.938 kB / 0.9642 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003757/0.2678, allocations: 87.27 kB / 0.9643 GB, free: 10.1 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/0.2678, allocations: 16 kB / 0.9643 GB, free: 10.08 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.0001841/0.268, allocations: 165.8 kB / 0.9645 GB, free: 9.91 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.94e-05/0.2681, allocations: 43.44 kB / 0.9645 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006391/0.2687, allocations: 332.9 kB / 0.9649 GB, free: 9.531 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.931e-06/0.2688, allocations: 4 kB / 0.9649 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.2688, allocations: 3.938 kB / 0.9649 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2688, allocations: 0 / 0.9649 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.2699, allocations: 0.9707 MB / 0.9658 GB, free: 8.477 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.27, allocations: 4 kB / 0.9658 GB, free: 8.473 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002408/0.2702, allocations: 59.91 kB / 0.9659 GB, free: 8.414 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.844e-06/0.2702, allocations: 7.938 kB / 0.9659 GB, free: 8.406 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.2703, allocations: 12.19 kB / 0.9659 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.177e-06/0.2703, allocations: 15.92 kB / 0.9659 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2703, allocations: 0 / 0.9659 GB, free: 8.379 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006249/0.2709, allocations: 0.5083 MB / 0.9664 GB, free: 7.836 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.271, allocations: 128.5 kB / 0.9665 GB, free: 7.691 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.963e-05/0.2711, allocations: 11.98 kB / 0.9665 GB, free: 7.68 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.2713, allocations: 12 kB / 0.9666 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.2714, allocations: 27.97 kB / 0.9666 GB, free: 7.641 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.901e-05/0.2714, allocations: 15.92 kB / 0.9666 GB, free: 7.625 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002849/0.2717, allocations: 287.2 kB / 0.9669 GB, free: 7.348 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2717, allocations: 0 / 0.9669 GB, free: 7.348 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004641/0.2722, allocations: 115.6 kB / 0.967 GB, free: 7.234 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.0001487/0.2723, allocations: 111.2 kB / 0.9671 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007205/0.2731, allocations: 403 kB / 0.9675 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.2731, allocations: 0 / 0.9675 GB, free: 6.715 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000277/0.2733, allocations: 151 kB / 0.9676 GB, free: 6.57 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005876/0.2739, allocations: 68.28 kB / 0.9677 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/0.2752, allocations: 0.7722 MB / 0.9684 GB, free: 5.676 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.2756, allocations: 0.8273 MB / 0.9692 GB, free: 4.82 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.341e-05/0.2757, allocations: 31.44 kB / 0.9693 GB, free: 4.789 MB / 0.7481 GB Notification: Performance of SimCode: time 3.7e-07/0.2757, allocations: 0 / 0.9693 GB, free: 4.789 MB / 0.7481 GB Notification: Performance of Templates: time 0.008081/0.2838, allocations: 5.007 MB / 0.9742 GB, free: 15.79 MB / 0.7637 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 -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