Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001813/0.001813, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002157/0.002157, allocations: 161.7 kB / 22.76 MB, free: 1.68 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.531/1.531, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.354/3.354, allocations: 429.6 MB / 0.673 GB, free: 3.855 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TRoo_in|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 0.8775 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.252e-05/4.529e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.004647/0.004693, allocations: 1.786 MB / 0.8793 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0005726/0.005265, allocations: 126.2 kB / 0.8794 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.005429, allocations: 7.938 kB / 0.8794 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.005607, allocations: 19.8 kB / 0.8794 GB, free: 4.578 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001656/0.005772, allocations: 49.81 kB / 0.8795 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.005978, allocations: 35.94 kB / 0.8795 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.006318, allocations: 180 kB / 0.8797 GB, free: 4.32 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001376/0.006456, allocations: 13.3 kB / 0.8797 GB, free: 4.309 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002132/0.006669, allocations: 79.86 kB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001402/0.006809, allocations: 52.59 kB / 0.8798 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.71e-05/0.006857, allocations: 12.69 kB / 0.8798 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.365e-05/0.00689, allocations: 8 kB / 0.8798 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.735e-05/0.006938, allocations: 31.3 kB / 0.8799 GB, free: 4.133 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.007039, allocations: 47.89 kB / 0.8799 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.007294, allocations: 127.6 kB / 0.88 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.007299, allocations: 0 / 0.88 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.252e-06/0.0073, allocations: 3.938 kB / 0.8801 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.526e-06/0.007309, allocations: 0 / 0.8801 GB, free: 3.957 MB / 0.8386 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.001033/0.008342, allocations: 374.3 kB / 0.8804 GB, free: 3.559 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.008395, allocations: 9.562 kB / 0.8804 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.833e-05/0.008493, allocations: 28.78 kB / 0.8804 GB, free: 3.523 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004125/0.008906, allocations: 150.6 kB / 0.8806 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.008934, allocations: 8.375 kB / 0.8806 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.008959, allocations: 8.375 kB / 0.8806 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003506/0.009309, allocations: 118.8 kB / 0.8807 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.00932, allocations: 192 / 0.8807 GB, free: 3.211 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.166e-05/0.009341, allocations: 8.359 kB / 0.8807 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.009348, allocations: 384 / 0.8807 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003372/0.009685, allocations: 91.88 kB / 0.8808 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009017/0.01059, allocations: 400.4 kB / 0.8812 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.01105, allocations: 129.2 kB / 0.8813 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001901/0.01124, allocations: 57.77 kB / 0.8814 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.01127, allocations: 4 kB / 0.8814 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.01131, allocations: 30.56 kB / 0.8814 GB, free: 2.438 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.01131, allocations: 4 kB / 0.8814 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0007116/0.01202, allocations: 185.5 kB / 0.8816 GB, free: 2.246 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.54e-05/0.0121, allocations: 77.11 kB / 0.8817 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.0123, allocations: 161.4 kB / 0.8818 GB, free: 1.977 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.051e-05/0.01233, allocations: 29.7 kB / 0.8818 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.01244, allocations: 104.1 kB / 0.8819 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.01248, allocations: 31.73 kB / 0.882 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.01254, allocations: 25.72 kB / 0.882 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002058/0.01274, allocations: 322.8 kB / 0.8823 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.01292, allocations: 47.91 kB / 0.8824 GB, free: 1.402 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/0.01309, allocations: 61.61 kB / 0.8824 GB, free: 1.336 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003138/0.0134, allocations: 105.9 kB / 0.8825 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.0134, allocations: 0 / 0.8825 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000426/0.01383, allocations: 153.4 kB / 0.8827 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.01385, allocations: 4 kB / 0.8827 GB, free: 1.066 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/0.01386, allocations: 4.188 kB / 0.8827 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.01388, allocations: 0 / 0.8827 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.01405, allocations: 23.97 kB / 0.8827 GB, free: 1.039 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.01406, allocations: 3.938 kB / 0.8827 GB, free: 1.035 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001261/0.01418, allocations: 19.92 kB / 0.8827 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.671e-05/0.0142, allocations: 11.98 kB / 0.8827 GB, free: 1.004 MB / 0.8386 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.0001421/0.01434, allocations: 117.8 kB / 0.8828 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.166e-05/0.01441, allocations: 23.84 kB / 0.8829 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004919/0.0149, allocations: 154.7 kB / 0.883 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.01491, allocations: 0 / 0.883 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.01491, allocations: 0 / 0.883 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.01492, allocations: 3.984 kB / 0.883 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000299/0.01522, allocations: 153.4 kB / 0.8832 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.01522, allocations: 0 / 0.8832 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.01537, allocations: 24.11 kB / 0.8832 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.01538, allocations: 0 / 0.8832 GB, free: 500 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.822e-05/0.0154, allocations: 8 kB / 0.8832 GB, free: 492 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.236e-06/0.0154, allocations: 7.984 kB / 0.8832 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.01541, allocations: 0 / 0.8832 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005222/0.01593, allocations: 306.6 kB / 0.8835 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.843e-05/0.01597, allocations: 23.83 kB / 0.8835 GB, free: 136 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.01599, allocations: 0 / 0.8835 GB, free: 136 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.01617, allocations: 11.98 kB / 0.8835 GB, free: 124 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.918e-05/0.01624, allocations: 11.98 kB / 0.8835 GB, free: 112 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.01625, allocations: 0 / 0.8835 GB, free: 112 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001452/0.01639, allocations: 124.9 kB / 0.8836 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01639, allocations: 0 / 0.8836 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003171/0.01671, allocations: 31.95 kB / 0.8837 GB, free: 15.96 MB / 0.8542 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.0001369/0.01685, allocations: 99.19 kB / 0.8838 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000395/0.01724, allocations: 103.9 kB / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.01724, allocations: 0 / 0.8839 GB, free: 15.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.01742, allocations: 51.97 kB / 0.8839 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004793/0.0179, allocations: 48.22 kB / 0.884 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006288/0.01853, allocations: 229.2 kB / 0.8842 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/0.01865, allocations: 89.17 kB / 0.8843 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 9.039e-05/0.01874, allocations: 12.64 kB / 0.8843 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.508e-05/0.01881, allocations: 20.48 kB / 0.8843 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.01881, allocations: 3.938 kB / 0.8843 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of Templates: time 0.006175/0.02498, allocations: 2.136 MB / 0.8864 GB, free: 13.2 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.568620599922724]