Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000996/0.000996, allocations: 80.3 kB / 21.47 MB, free: 3.027 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.00105/0.00105, allocations: 168.3 kB / 24.86 MB, free: 9.27 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.9693/0.9693, allocations: 177.1 MB / 205.3 MB, free: 5.527 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.729/1.729, allocations: 359 MB / 0.6063 GB, free: 10.92 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 0.7883 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.156e-05, allocations: 6.703 kB / 0.7883 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003673/0.003705, allocations: 1.87 MB / 0.7901 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000728/0.004433, allocations: 117.1 kB / 0.7902 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.004555, allocations: 3.938 kB / 0.7902 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.004707, allocations: 11.86 kB / 0.7902 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.004834, allocations: 53.59 kB / 0.7903 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001605/0.004995, allocations: 35.94 kB / 0.7903 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002555/0.00525, allocations: 176.6 kB / 0.7905 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.005381, allocations: 17.3 kB / 0.7905 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000158/0.005539, allocations: 87.78 kB / 0.7906 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.005655, allocations: 47.89 kB / 0.7906 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.005689, allocations: 9.906 kB / 0.7906 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.711e-05/0.005716, allocations: 12 kB / 0.7906 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.262e-05/0.005749, allocations: 31.89 kB / 0.7907 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.661e-05/0.005806, allocations: 39.92 kB / 0.7907 GB, free: 9.789 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.005983, allocations: 103.6 kB / 0.7908 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.005987, allocations: 2.312 kB / 0.7908 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.493e-06/0.005989, allocations: 0 / 0.7908 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.005994, allocations: 0 / 0.7908 GB, free: 9.688 MB / 0.7448 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.0007307/0.006724, allocations: 472.6 kB / 0.7913 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.006773, allocations: 13.69 kB / 0.7913 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.03e-05/0.006833, allocations: 20.84 kB / 0.7913 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002163/0.007049, allocations: 154.8 kB / 0.7914 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.007063, allocations: 4.375 kB / 0.7914 GB, free: 8.977 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.007079, allocations: 5.188 kB / 0.7914 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002161/0.007295, allocations: 110.3 kB / 0.7915 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.007308, allocations: 4.844 kB / 0.7916 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.007321, allocations: 1.812 kB / 0.7916 GB, free: 8.844 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.837e-06/0.00733, allocations: 4.375 kB / 0.7916 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.775e-05/0.007417, allocations: 35.84 kB / 0.7916 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006755/0.008093, allocations: 453.5 kB / 0.792 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002519/0.008345, allocations: 98.19 kB / 0.7921 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.442e-05/0.008399, allocations: 23.38 kB / 0.7921 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.00843, allocations: 16.72 kB / 0.7922 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.008466, allocations: 45.39 kB / 0.7922 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.008467, allocations: 0.5312 kB / 0.7922 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.0002702/0.008737, allocations: 99.11 kB / 0.7923 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.00878, allocations: 77.11 kB / 0.7924 GB, free: 7.914 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001405/0.00892, allocations: 211.2 kB / 0.7926 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.008938, allocations: 33.7 kB / 0.7926 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.46e-05/0.009023, allocations: 154.7 kB / 0.7927 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.931e-05/0.009052, allocations: 36.34 kB / 0.7928 GB, free: 7.457 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.489e-05/0.009107, allocations: 31.36 kB / 0.7928 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.009263, allocations: 0.4897 MB / 0.7933 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.456e-05/0.009298, allocations: 8 kB / 0.7933 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.303e-05/0.009351, allocations: 35.28 kB / 0.7933 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.803e-05/0.009439, allocations: 52.77 kB / 0.7934 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.009441, allocations: 0 / 0.7934 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000163/0.009604, allocations: 85.52 kB / 0.7935 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.009619, allocations: 5.375 kB / 0.7935 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.009625, allocations: 0 / 0.7935 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.009635, allocations: 4 kB / 0.7935 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.009751, allocations: 15.98 kB / 0.7935 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.009754, allocations: 5.75 kB / 0.7935 GB, free: 6.691 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.317e-05/0.009827, allocations: 11.95 kB / 0.7935 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-06/0.009836, allocations: 0 / 0.7935 GB, free: 6.68 MB / 0.7448 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.231e-05/0.009928, allocations: 161.4 kB / 0.7937 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/0.009988, allocations: 23.88 kB / 0.7937 GB, free: 6.488 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.0102, allocations: 91.59 kB / 0.7938 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.01021, allocations: 0 / 0.7938 GB, free: 6.395 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-06/0.01021, allocations: 5.281 kB / 0.7938 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.01021, allocations: 0 / 0.7938 GB, free: 6.391 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002452/0.01046, allocations: 137.2 kB / 0.7939 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.01046, allocations: 0 / 0.7939 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.979e-05/0.01056, allocations: 16.7 kB / 0.7939 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.01057, allocations: 4.875 kB / 0.7939 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.01058, allocations: 3.938 kB / 0.7939 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.01058, allocations: 192 / 0.7939 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.01058, allocations: 5.562 kB / 0.7939 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.01082, allocations: 347 kB / 0.7943 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.43e-05/0.01084, allocations: 19.83 kB / 0.7943 GB, free: 5.824 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.01086, allocations: 7.938 kB / 0.7943 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.01099, allocations: 8.969 kB / 0.7943 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.01103, allocations: 7.984 kB / 0.7943 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.01104, allocations: 7.312 kB / 0.7943 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.968e-05/0.01112, allocations: 151.8 kB / 0.7945 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01112, allocations: 0 / 0.7945 GB, free: 5.648 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003047/0.01143, allocations: 28 kB / 0.7945 GB, free: 5.621 MB / 0.7448 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.0001103/0.01154, allocations: 107.2 kB / 0.7946 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001325/0.01167, allocations: 39.61 kB / 0.7946 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.01167, allocations: 0 / 0.7946 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.175e-05/0.01172, allocations: 27.67 kB / 0.7947 GB, free: 5.434 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004376/0.01216, allocations: 36.33 kB / 0.7947 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006874/0.01285, allocations: 249.5 kB / 0.7949 GB, free: 5.125 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.924e-05/0.01291, allocations: 63.34 kB / 0.795 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 9.159e-05/0.013, allocations: 14.88 kB / 0.795 GB, free: 5.031 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.01315, allocations: 114.2 kB / 0.7951 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of SimCode: time 7.71e-07/0.01316, allocations: 0 / 0.7951 GB, free: 4.918 MB / 0.7448 GB Notification: Performance of Templates: time 0.005851/0.01901, allocations: 2.399 MB / 0.7975 GB, free: 2.609 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/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: 4.997149007860571]