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.0009073/0.0009073, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.001066/0.001066, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8989/0.8989, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.712/1.712, allocations: 359 MB / 0.6044 GB, free: 11.08 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.513e-06/1.513e-06, allocations: 0 / 0.9517 GB, free: 3.02 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.61e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.016 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.002115/0.002141, allocations: 1.774 MB / 0.9534 GB, free: 1.227 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0002623/0.002404, allocations: 135.5 kB / 0.9536 GB, free: 1.094 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.88e-05/0.002473, allocations: 7.938 kB / 0.9536 GB, free: 1.086 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 8.419e-05/0.002557, allocations: 11.86 kB / 0.9536 GB, free: 1.074 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.202e-05/0.002619, allocations: 51.5 kB / 0.9536 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001042/0.002723, allocations: 35.94 kB / 0.9537 GB, free: 0.9883 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0004388/0.003162, allocations: 179 kB / 0.9538 GB, free: 0.8125 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.75e-05/0.003259, allocations: 9.312 kB / 0.9538 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 8.62e-05/0.003346, allocations: 83.84 kB / 0.9539 GB, free: 0.7188 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/0.003416, allocations: 55.81 kB / 0.954 GB, free: 0.6641 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.437e-05/0.00344, allocations: 12 kB / 0.954 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 1.417e-05/0.003454, allocations: 12 kB / 0.954 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.359e-05/0.003478, allocations: 27.91 kB / 0.954 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.69e-05/0.003515, allocations: 47.84 kB / 0.9541 GB, free: 0.5664 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.003648, allocations: 127.6 kB / 0.9542 GB, free: 452 kB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003651, allocations: 0 / 0.9542 GB, free: 452 kB / 0.9011 GB Notification: Performance of FrontEnd: time 1.693e-06/0.003652, allocations: 0 / 0.9542 GB, free: 452 kB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.003656, allocations: 0 / 0.9542 GB, free: 452 kB / 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.0004546/0.004111, allocations: 389.5 kB / 0.9546 GB, free: 28 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.004144, allocations: 8.031 kB / 0.9546 GB, free: 20 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.004173, allocations: 12.89 kB / 0.9546 GB, free: 8 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.004371, allocations: 149.5 kB / 0.9547 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.528e-06/0.004381, allocations: 8.375 kB / 0.9547 GB, free: 15.83 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.004392, allocations: 4.375 kB / 0.9547 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001763/0.004568, allocations: 123.8 kB / 0.9549 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.953e-06/0.004575, allocations: 192 / 0.9549 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.004587, allocations: 384 / 0.9549 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.004592, allocations: 8.375 kB / 0.9549 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.004754, allocations: 95.86 kB / 0.955 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.005198, allocations: 392.5 kB / 0.9553 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.005445, allocations: 125.2 kB / 0.9554 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.482e-05/0.00553, allocations: 61.78 kB / 0.9555 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.005551, allocations: 4 kB / 0.9555 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.005568, allocations: 30.56 kB / 0.9555 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=9): time 9.42e-07/0.005569, allocations: 0 / 0.9555 GB, free: 14.92 MB / 0.9167 GB Notification: Performance of matching and sorting (n=9): time 0.0003218/0.005891, allocations: 189.4 kB / 0.9557 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/0.005926, allocations: 81.11 kB / 0.9558 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001009/0.006027, allocations: 159.3 kB / 0.9559 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.006038, allocations: 25.7 kB / 0.956 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.317e-05/0.006092, allocations: 112 kB / 0.9561 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.94e-05/0.006111, allocations: 27.75 kB / 0.9561 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.006145, allocations: 21.7 kB / 0.9561 GB, free: 14.26 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.156e-05/0.006237, allocations: 326.8 kB / 0.9564 GB, free: 13.93 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.39e-05/0.006311, allocations: 39.97 kB / 0.9565 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.265e-05/0.006393, allocations: 61.62 kB / 0.9565 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001545/0.006548, allocations: 105.7 kB / 0.9566 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.00655, allocations: 0 / 0.9566 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001963/0.006746, allocations: 149.6 kB / 0.9568 GB, free: 13.57 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.006759, allocations: 4 kB / 0.9568 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.006763, allocations: 3.938 kB / 0.9568 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.006773, allocations: 8 kB / 0.9568 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.415e-05/0.006847, allocations: 19.98 kB / 0.9568 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.006852, allocations: 0 / 0.9568 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.994e-05/0.006902, allocations: 19.92 kB / 0.9568 GB, free: 13.51 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.006909, allocations: 0 / 0.9568 GB, free: 13.51 MB / 0.9167 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.549e-05/0.006974, allocations: 121.8 kB / 0.9569 GB, free: 13.38 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.79e-05/0.007002, allocations: 15.84 kB / 0.957 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002537/0.007256, allocations: 163.3 kB / 0.9571 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.007259, allocations: 4.031 kB / 0.9571 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.007264, allocations: 8 kB / 0.9571 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.007268, allocations: 4 kB / 0.9571 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.007433, allocations: 149.3 kB / 0.9573 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.007434, allocations: 0 / 0.9573 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.208e-05/0.007496, allocations: 23.92 kB / 0.9573 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.007499, allocations: 0 / 0.9573 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.007508, allocations: 4 kB / 0.9573 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.00751, allocations: 4 kB / 0.9573 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.007511, allocations: 0 / 0.9573 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.00775, allocations: 314.6 kB / 0.9576 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.007766, allocations: 15.84 kB / 0.9576 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.398e-05/0.00778, allocations: 0 / 0.9576 GB, free: 12.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.062e-05/0.00786, allocations: 15.98 kB / 0.9576 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.007896, allocations: 3.984 kB / 0.9576 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-06/0.007902, allocations: 4 kB / 0.9576 GB, free: 12.62 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 6.068e-05/0.007963, allocations: 128.9 kB / 0.9578 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007963, allocations: 3.938 kB / 0.9578 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000191/0.008154, allocations: 31.94 kB / 0.9578 GB, free: 12.46 MB / 0.9167 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 8.471e-05/0.008238, allocations: 99.19 kB / 0.9579 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.008433, allocations: 95.94 kB / 0.958 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.008435, allocations: 0 / 0.958 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.413e-05/0.008519, allocations: 63.89 kB / 0.9581 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/0.008784, allocations: 36.33 kB / 0.9581 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003661/0.00915, allocations: 259.8 kB / 0.9583 GB, free: 11.87 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.652e-05/0.009217, allocations: 97.3 kB / 0.9584 GB, free: 11.75 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.344e-05/0.00926, allocations: 12.5 kB / 0.9584 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of SimCode: time 4.1e-07/0.009261, allocations: 0 / 0.9584 GB, free: 11.74 MB / 0.9167 GB Notification: Performance of Templates: time 0.002298/0.01156, allocations: 1.774 MB / 0.9602 GB, free: 9.988 MB / 0.9167 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.630312881432474]