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.001495/0.001495, allocations: 73.09 kB / 20.66 MB, free: 3.844 MB / 18.57 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.001484/0.001484, allocations: 169 kB / 24.06 MB, free: 456 kB / 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 0.9831/0.9831, allocations: 177.1 MB / 204.5 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] 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 2.022/2.022, allocations: 429.5 MB / 0.6743 GB, free: 3.914 MB / 0.6355 GB " [Timeout remaining time 177] 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 1.523e-06/1.523e-06, allocations: 0 / 0.8793 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.604e-05/1.756e-05, allocations: 5.594 kB / 0.8793 GB, free: 6.074 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002039/0.002056, allocations: 1.873 MB / 0.8812 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002563/0.002313, allocations: 117.7 kB / 0.8813 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.351e-05/0.002386, allocations: 5.938 kB / 0.8813 GB, free: 4.098 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001024/0.002488, allocations: 11.86 kB / 0.8813 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.818e-05/0.002567, allocations: 56.84 kB / 0.8814 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001081/0.002675, allocations: 31.94 kB / 0.8814 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.002829, allocations: 179 kB / 0.8816 GB, free: 3.824 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.008e-05/0.002919, allocations: 18.64 kB / 0.8816 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.892e-05/0.003008, allocations: 79.8 kB / 0.8817 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.00308, allocations: 55.88 kB / 0.8817 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.003101, allocations: 8 kB / 0.8817 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.516e-05/0.003116, allocations: 13.59 kB / 0.8817 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.703e-05/0.003143, allocations: 27.89 kB / 0.8818 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.003182, allocations: 39.92 kB / 0.8818 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.003297, allocations: 111.5 kB / 0.8819 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003299, allocations: 2.25 kB / 0.8819 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.82e-07/0.0033, allocations: 0 / 0.8819 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.326e-06/0.003303, allocations: 0 / 0.8819 GB, free: 3.48 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.000449/0.003752, allocations: 474.2 kB / 0.8824 GB, free: 2.98 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.003783, allocations: 8.031 kB / 0.8824 GB, free: 2.973 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.00382, allocations: 24.84 kB / 0.8824 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001435/0.003964, allocations: 154.1 kB / 0.8825 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.003976, allocations: 4.375 kB / 0.8825 GB, free: 2.77 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.003988, allocations: 12.38 kB / 0.8826 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001408/0.004129, allocations: 114.2 kB / 0.8827 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.004135, allocations: 192 / 0.8827 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.577e-06/0.004144, allocations: 384 / 0.8827 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.004148, allocations: 384 / 0.8827 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.802e-05/0.004196, allocations: 27.91 kB / 0.8827 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004086/0.004605, allocations: 455.1 kB / 0.8831 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.004765, allocations: 102.2 kB / 0.8832 GB, free: 2 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.518e-05/0.0048, allocations: 31.38 kB / 0.8832 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.004819, allocations: 7.938 kB / 0.8833 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/0.004838, allocations: 37.47 kB / 0.8833 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 9.32e-07/0.004839, allocations: 0 / 0.8833 GB, free: 1.906 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.000173/0.005012, allocations: 93.47 kB / 0.8834 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.005049, allocations: 85.11 kB / 0.8835 GB, free: 1.707 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.75e-05/0.005147, allocations: 215.4 kB / 0.8837 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.005159, allocations: 25.7 kB / 0.8837 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.005221, allocations: 166.7 kB / 0.8839 GB, free: 1.277 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.242e-05/0.005243, allocations: 31.75 kB / 0.8839 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.005279, allocations: 31.34 kB / 0.8839 GB, free: 1.207 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.005389, allocations: 0.4923 MB / 0.8844 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.281e-05/0.005412, allocations: 8 kB / 0.8844 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.252e-05/0.005445, allocations: 31.34 kB / 0.8844 GB, free: 0.6562 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.782e-05/0.005503, allocations: 47.61 kB / 0.8845 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.005504, allocations: 0 / 0.8845 GB, free: 0.6016 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 9.89e-05/0.005603, allocations: 89.47 kB / 0.8846 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.005613, allocations: 8 kB / 0.8846 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.005616, allocations: 0 / 0.8846 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.005625, allocations: 4 kB / 0.8846 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.03e-05/0.005695, allocations: 23.92 kB / 0.8846 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-06/0.005697, allocations: 0 / 0.8846 GB, free: 484 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.014e-05/0.005737, allocations: 4 kB / 0.8846 GB, free: 480 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.005743, allocations: 4 kB / 0.8846 GB, free: 476 kB / 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 6.594e-05/0.005809, allocations: 156.6 kB / 0.8848 GB, free: 308 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.353e-05/0.005843, allocations: 23.84 kB / 0.8848 GB, free: 284 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.005969, allocations: 102.9 kB / 0.8849 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.005971, allocations: 0 / 0.8849 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.005973, allocations: 4 kB / 0.8849 GB, free: 164 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.005977, allocations: 4 kB / 0.8849 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.006121, allocations: 125.2 kB / 0.885 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.006123, allocations: 0 / 0.885 GB, free: 8 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.551e-05/0.006188, allocations: 19.98 kB / 0.885 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.00619, allocations: 0 / 0.885 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.006199, allocations: 11.94 kB / 0.885 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.0062, allocations: 0 / 0.885 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.0062, allocations: 0 / 0.885 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001631/0.006364, allocations: 351 kB / 0.8854 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.397e-05/0.006377, allocations: 15.89 kB / 0.8854 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.006393, allocations: 7.922 kB / 0.8854 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.92e-05/0.006462, allocations: 8.125 kB / 0.8854 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.415e-05/0.006496, allocations: 19.92 kB / 0.8854 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.0065, allocations: 0 / 0.8854 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.234e-05/0.006553, allocations: 151.8 kB / 0.8856 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006553, allocations: 0 / 0.8856 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001749/0.006728, allocations: 31.95 kB / 0.8856 GB, free: 15.38 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 6.555e-05/0.006793, allocations: 95.25 kB / 0.8857 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 9.981e-05/0.006893, allocations: 55.88 kB / 0.8857 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.006894, allocations: 0 / 0.8857 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.512e-05/0.006929, allocations: 31.55 kB / 0.8858 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002602/0.00719, allocations: 31.98 kB / 0.8858 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000413/0.007603, allocations: 237.9 kB / 0.886 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.022e-05/0.007643, allocations: 63.34 kB / 0.8861 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.674e-05/0.00769, allocations: 12.48 kB / 0.8861 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001037/0.007793, allocations: 110.2 kB / 0.8862 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of SimCode: time 6.11e-07/0.007794, allocations: 0 / 0.8862 GB, free: 14.69 MB / 0.8542 GB Notification: Performance of Templates: time 0.003378/0.01117, allocations: 2.401 MB / 0.8885 GB, free: 12.36 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.05939277401194]