Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008181/0.0008181, allocations: 72.55 kB / 19.93 MB, free: 4.633 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.0008313/0.0008313, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.9445/0.9445, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.779/1.779, allocations: 377.9 MB / 0.6228 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.814e-06/1.814e-06, allocations: 0 / 0.9822 GB, free: 0.9922 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.233e-05/3.414e-05, allocations: 6.281 kB / 0.9822 GB, free: 0.9844 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002509/0.002543, allocations: 1.777 MB / 0.9839 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.000327/0.00287, allocations: 127.6 kB / 0.984 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.3e-05/0.002953, allocations: 3.938 kB / 0.984 GB, free: 15.07 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.003065, allocations: 11.86 kB / 0.984 GB, free: 15.05 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.584e-05/0.003141, allocations: 55.44 kB / 0.9841 GB, free: 15 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.003281, allocations: 39.94 kB / 0.9841 GB, free: 14.96 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001813/0.003463, allocations: 175 kB / 0.9843 GB, free: 14.79 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001212/0.003584, allocations: 21.3 kB / 0.9843 GB, free: 14.77 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.003684, allocations: 79.86 kB / 0.9844 GB, free: 14.69 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 9.048e-05/0.003774, allocations: 51.88 kB / 0.9844 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.003806, allocations: 11.94 kB / 0.9844 GB, free: 14.63 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.948e-05/0.003825, allocations: 12 kB / 0.9845 GB, free: 14.62 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.908e-05/0.003854, allocations: 31.84 kB / 0.9845 GB, free: 14.59 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.34e-05/0.003898, allocations: 43.91 kB / 0.9845 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001564/0.004054, allocations: 123.7 kB / 0.9846 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.004057, allocations: 4 kB / 0.9846 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.784e-06/0.004059, allocations: 0 / 0.9846 GB, free: 14.42 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.004064, allocations: 0 / 0.9846 GB, free: 14.42 MB / 0.9011 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.0005644/0.004629, allocations: 377.6 kB / 0.985 GB, free: 14.02 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.004671, allocations: 19.95 kB / 0.985 GB, free: 14 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.827e-05/0.004719, allocations: 12.84 kB / 0.985 GB, free: 13.98 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002449/0.004964, allocations: 153.5 kB / 0.9852 GB, free: 13.81 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.004976, allocations: 8.375 kB / 0.9852 GB, free: 13.8 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.004993, allocations: 8.359 kB / 0.9852 GB, free: 13.79 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.005209, allocations: 111.9 kB / 0.9853 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.005217, allocations: 192 / 0.9853 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.005231, allocations: 4.375 kB / 0.9853 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.005237, allocations: 384 / 0.9853 GB, free: 13.67 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001781/0.005415, allocations: 107.8 kB / 0.9854 GB, free: 13.56 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005199/0.005935, allocations: 388.5 kB / 0.9858 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.00621, allocations: 125.1 kB / 0.9859 GB, free: 13.01 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.652e-05/0.006306, allocations: 61.72 kB / 0.986 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 2.31e-05/0.00633, allocations: 3.984 kB / 0.986 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.842e-05/0.006348, allocations: 38.56 kB / 0.986 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=9): time 1.603e-06/0.00635, allocations: 0 / 0.986 GB, free: 12.89 MB / 0.9011 GB Notification: Performance of matching and sorting (n=9): time 0.000383/0.006733, allocations: 181.4 kB / 0.9862 GB, free: 12.71 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.47e-05/0.006777, allocations: 81.11 kB / 0.9863 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.006896, allocations: 163.3 kB / 0.9864 GB, free: 12.43 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.006911, allocations: 25.7 kB / 0.9864 GB, free: 12.4 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.006973, allocations: 104.1 kB / 0.9865 GB, free: 12.3 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-05/0.006997, allocations: 35.73 kB / 0.9866 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.007042, allocations: 25.72 kB / 0.9866 GB, free: 12.23 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.741e-05/0.007129, allocations: 322.8 kB / 0.9869 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.805e-05/0.007217, allocations: 35.97 kB / 0.9869 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.812e-05/0.007305, allocations: 61.62 kB / 0.987 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/0.007471, allocations: 105.6 kB / 0.9871 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.007473, allocations: 4 kB / 0.9871 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002179/0.007691, allocations: 153.7 kB / 0.9872 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.007708, allocations: 8 kB / 0.9873 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.007714, allocations: 0 / 0.9873 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.007728, allocations: 0 / 0.9873 GB, free: 11.53 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.548e-05/0.007813, allocations: 23.98 kB / 0.9873 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.007822, allocations: 7.984 kB / 0.9873 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.213e-05/0.007875, allocations: 11.94 kB / 0.9873 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.007883, allocations: 4 kB / 0.9873 GB, free: 11.48 MB / 0.9011 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 7.39e-05/0.007957, allocations: 125.8 kB / 0.9874 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.962e-05/0.007987, allocations: 19.84 kB / 0.9874 GB, free: 11.33 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002637/0.00825, allocations: 150.7 kB / 0.9876 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.008255, allocations: 4 kB / 0.9876 GB, free: 11.18 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.008259, allocations: 4 kB / 0.9876 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-06/0.008263, allocations: 0 / 0.9876 GB, free: 11.17 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.008436, allocations: 149.3 kB / 0.9877 GB, free: 11 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.008438, allocations: 0 / 0.9877 GB, free: 11 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.024e-05/0.008508, allocations: 31.86 kB / 0.9878 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.008511, allocations: 0 / 0.9878 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.759e-06/0.008521, allocations: 0 / 0.9878 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.008523, allocations: 0 / 0.9878 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.008525, allocations: 4 kB / 0.9878 GB, free: 10.96 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000254/0.008779, allocations: 314.6 kB / 0.9881 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 2.184e-05/0.008801, allocations: 15.84 kB / 0.9881 GB, free: 10.62 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.008819, allocations: 8 kB / 0.9881 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.26e-05/0.008902, allocations: 7.984 kB / 0.9881 GB, free: 10.61 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.51e-05/0.008947, allocations: 7.984 kB / 0.9881 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.87e-06/0.008952, allocations: 0 / 0.9881 GB, free: 10.6 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 6.396e-05/0.009016, allocations: 124.9 kB / 0.9882 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5.1e-08/0.009016, allocations: 0 / 0.9882 GB, free: 10.48 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001971/0.009213, allocations: 31.94 kB / 0.9883 GB, free: 10.45 MB / 0.9011 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 9.83e-05/0.009311, allocations: 99.25 kB / 0.9884 GB, free: 10.34 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.009544, allocations: 108.3 kB / 0.9885 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.009546, allocations: 0 / 0.9885 GB, free: 10.23 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 8.336e-05/0.009629, allocations: 51.91 kB / 0.9885 GB, free: 10.18 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003106/0.00994, allocations: 39.84 kB / 0.9885 GB, free: 10.14 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004469/0.01039, allocations: 259.8 kB / 0.9888 GB, free: 9.852 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.165e-05/0.01046, allocations: 89.31 kB / 0.9889 GB, free: 9.742 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.042e-05/0.01052, allocations: 16.5 kB / 0.9889 GB, free: 9.727 MB / 0.9011 GB Notification: Performance of SimCode: time 6.21e-07/0.01052, allocations: 4 kB / 0.9889 GB, free: 9.723 MB / 0.9011 GB Notification: Performance of Templates: time 0.002654/0.01317, allocations: 1.769 MB / 0.9906 GB, free: 7.973 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 6.633141771890223]