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.0009803/0.0009803, allocations: 92.22 kB / 19.65 MB, free: 276 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.00101/0.00101, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9927/0.9927, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.138/2.138, allocations: 429.5 MB / 0.6732 GB, free: 4.059 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 2.324e-06/2.324e-06, allocations: 3.938 kB / 0.8781 GB, free: 5.273 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.761e-05/3.993e-05, allocations: 2.312 kB / 0.8781 GB, free: 5.27 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003926/0.003965, allocations: 1.872 MB / 0.88 GB, free: 3.406 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0004815/0.004447, allocations: 117.7 kB / 0.8801 GB, free: 3.293 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001135/0.00456, allocations: 1.438 kB / 0.8801 GB, free: 3.293 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.004723, allocations: 15.8 kB / 0.8801 GB, free: 3.277 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.004836, allocations: 52.3 kB / 0.8801 GB, free: 3.227 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001854/0.005021, allocations: 37.23 kB / 0.8802 GB, free: 3.191 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.005303, allocations: 179 kB / 0.8803 GB, free: 3.016 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001578/0.005461, allocations: 17.3 kB / 0.8804 GB, free: 3 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.005631, allocations: 80.69 kB / 0.8804 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.005739, allocations: 55.86 kB / 0.8805 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.568e-05/0.005775, allocations: 13.59 kB / 0.8805 GB, free: 2.855 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 2.643e-05/0.005801, allocations: 8 kB / 0.8805 GB, free: 2.848 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 3.417e-05/0.005836, allocations: 19.92 kB / 0.8805 GB, free: 2.828 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 7.76e-05/0.005913, allocations: 63.77 kB / 0.8806 GB, free: 2.766 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.006112, allocations: 93.12 kB / 0.8807 GB, free: 2.676 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.006116, allocations: 0 / 0.8807 GB, free: 2.676 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.256e-06/0.006119, allocations: 3.984 kB / 0.8807 GB, free: 2.672 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.006126, allocations: 0 / 0.8807 GB, free: 2.672 MB / 0.7917 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.0007651/0.006891, allocations: 471.1 kB / 0.8811 GB, free: 2.176 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.804e-05/0.00695, allocations: 12.03 kB / 0.8811 GB, free: 2.164 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.654e-05/0.007026, allocations: 20.84 kB / 0.8812 GB, free: 2.145 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.007309, allocations: 160.9 kB / 0.8813 GB, free: 1.961 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.007326, allocations: 9 kB / 0.8813 GB, free: 1.953 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/0.007352, allocations: 4.375 kB / 0.8813 GB, free: 1.949 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.007612, allocations: 115.4 kB / 0.8814 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.007627, allocations: 192 / 0.8814 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.007642, allocations: 384 / 0.8814 GB, free: 1.824 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.007655, allocations: 8.375 kB / 0.8814 GB, free: 1.816 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001164/0.007772, allocations: 39.83 kB / 0.8815 GB, free: 1.777 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007738/0.008546, allocations: 482.5 kB / 0.8819 GB, free: 1.266 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.008853, allocations: 106 kB / 0.882 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.085e-05/0.008934, allocations: 39.45 kB / 0.8821 GB, free: 1.09 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.008971, allocations: 4 kB / 0.8821 GB, free: 1.086 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.009006, allocations: 37.33 kB / 0.8821 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=9): time 1.884e-06/0.009008, allocations: 4 kB / 0.8821 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of matching and sorting (n=9): time 0.0003622/0.00937, allocations: 101.8 kB / 0.8822 GB, free: 0.9297 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.009424, allocations: 81.11 kB / 0.8823 GB, free: 0.832 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.0096, allocations: 217.4 kB / 0.8825 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.009618, allocations: 25.7 kB / 0.8825 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/0.009719, allocations: 158.8 kB / 0.8827 GB, free: 420 kB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.396e-05/0.009753, allocations: 27.75 kB / 0.8827 GB, free: 392 kB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.42e-05/0.009817, allocations: 35.36 kB / 0.8827 GB, free: 348 kB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.009997, allocations: 0.4923 MB / 0.8832 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.581e-05/0.01005, allocations: 8 kB / 0.8832 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.367e-05/0.01012, allocations: 39.36 kB / 0.8833 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000113/0.01023, allocations: 51.31 kB / 0.8833 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.01023, allocations: 0 / 0.8833 GB, free: 15.72 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001959/0.01043, allocations: 93.52 kB / 0.8834 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.01045, allocations: 11.94 kB / 0.8834 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.151e-06/0.01045, allocations: 0 / 0.8834 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.01047, allocations: 0 / 0.8834 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.0106, allocations: 16 kB / 0.8834 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.01061, allocations: 3.984 kB / 0.8834 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.597e-05/0.01067, allocations: 7.938 kB / 0.8834 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.01069, allocations: 12 kB / 0.8835 GB, free: 15.57 MB / 0.8073 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 9.911e-05/0.01079, allocations: 152.6 kB / 0.8836 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/0.01085, allocations: 27.84 kB / 0.8836 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.01112, allocations: 98.73 kB / 0.8837 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.01112, allocations: 4 kB / 0.8837 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.01113, allocations: 256 / 0.8837 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.01114, allocations: 0 / 0.8837 GB, free: 15.27 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.0114, allocations: 156.6 kB / 0.8839 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.0114, allocations: 0 / 0.8839 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.01151, allocations: 27.88 kB / 0.8839 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.01152, allocations: 4 kB / 0.8839 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.01153, allocations: 0 / 0.8839 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.01153, allocations: 7.922 kB / 0.8839 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.01154, allocations: 0 / 0.8839 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002994/0.01183, allocations: 355.2 kB / 0.8843 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.72e-05/0.01186, allocations: 15.83 kB / 0.8843 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.251e-05/0.01188, allocations: 0 / 0.8843 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.01202, allocations: 11.98 kB / 0.8843 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.93e-05/0.01208, allocations: 7.984 kB / 0.8843 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.436e-06/0.01208, allocations: 0 / 0.8843 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001001/0.01218, allocations: 168.8 kB / 0.8844 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of sort global known variables: time 8e-08/0.01219, allocations: 0 / 0.8844 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003275/0.01251, allocations: 31.95 kB / 0.8845 GB, free: 14.45 MB / 0.8073 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.0001346/0.01265, allocations: 95.48 kB / 0.8846 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.01285, allocations: 55.62 kB / 0.8846 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.01285, allocations: 0 / 0.8846 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 6.375e-05/0.01292, allocations: 35.61 kB / 0.8847 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.0134, allocations: 44.38 kB / 0.8847 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008563/0.01425, allocations: 237.9 kB / 0.8849 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.821e-05/0.01432, allocations: 63.34 kB / 0.885 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.855e-05/0.01441, allocations: 12.5 kB / 0.885 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.713e-05/0.01447, allocations: 12.5 kB / 0.885 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of SimCode: time 1.744e-06/0.01447, allocations: 0 / 0.885 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of Templates: time 0.006749/0.02122, allocations: 2.147 MB / 0.8871 GB, free: 11.76 MB / 0.8073 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.674702037125826]