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.001892/0.001892, allocations: 78.33 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002229/0.002229, allocations: 169.5 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.617/1.617, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 3.149/3.149, allocations: 389 MB / 0.633 GB, free: 1.008 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.813e-06/1.813e-06, allocations: 0 / 1 GB, free: 7.367 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.247e-05/3.428e-05, allocations: 2.281 kB / 1 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.003989/0.004024, allocations: 1.784 MB / 1.002 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0004708/0.004494, allocations: 127.6 kB / 1.002 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001344/0.004629, allocations: 0 / 1.002 GB, free: 5.445 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.004762, allocations: 19.8 kB / 1.002 GB, free: 5.426 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001438/0.004905, allocations: 51.5 kB / 1.002 GB, free: 5.375 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.005089, allocations: 35.94 kB / 1.002 GB, free: 5.34 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0003202/0.005409, allocations: 175 kB / 1.002 GB, free: 5.168 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001458/0.005555, allocations: 17.3 kB / 1.002 GB, free: 5.148 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002/0.005755, allocations: 79.86 kB / 1.002 GB, free: 5.07 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.005876, allocations: 51.88 kB / 1.002 GB, free: 5.02 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 4.174e-05/0.005918, allocations: 12 kB / 1.002 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 3.594e-05/0.005954, allocations: 8 kB / 1.002 GB, free: 5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.685e-05/0.006001, allocations: 31.84 kB / 1.002 GB, free: 4.969 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.373e-05/0.006085, allocations: 47.91 kB / 1.002 GB, free: 4.922 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.006314, allocations: 131.5 kB / 1.003 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.006318, allocations: 0 / 1.003 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.162e-06/0.006319, allocations: 0 / 1.003 GB, free: 4.793 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.231e-06/0.006326, allocations: 0 / 1.003 GB, free: 4.793 MB / 0.9512 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.0009095/0.007235, allocations: 377.7 kB / 1.003 GB, free: 4.391 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.007288, allocations: 11.98 kB / 1.003 GB, free: 4.379 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.622e-05/0.007354, allocations: 24.78 kB / 1.003 GB, free: 4.355 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.007725, allocations: 145.5 kB / 1.003 GB, free: 4.188 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.137e-05/0.007747, allocations: 12.31 kB / 1.003 GB, free: 4.176 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.007773, allocations: 8.312 kB / 1.003 GB, free: 4.168 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003392/0.008112, allocations: 123.1 kB / 1.003 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.008125, allocations: 192 / 1.003 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.00814, allocations: 384 / 1.003 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.008145, allocations: 384 / 1.003 GB, free: 4.039 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003503/0.008496, allocations: 107.8 kB / 1.003 GB, free: 3.934 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008093/0.009305, allocations: 388.5 kB / 1.004 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004848/0.00979, allocations: 125.2 kB / 1.004 GB, free: 3.379 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.009984, allocations: 65.78 kB / 1.004 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.326e-05/0.01002, allocations: 0 / 1.004 GB, free: 3.309 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/0.01006, allocations: 38.55 kB / 1.004 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.01006, allocations: 0 / 1.004 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of matching and sorting (n=9): time 0.0006834/0.01075, allocations: 177.5 kB / 1.004 GB, free: 3.082 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.047e-05/0.01084, allocations: 77.11 kB / 1.004 GB, free: 2.988 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.01103, allocations: 163.2 kB / 1.004 GB, free: 2.812 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.01114, allocations: 29.7 kB / 1.004 GB, free: 2.777 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 9.46e-05/0.01124, allocations: 108.1 kB / 1.004 GB, free: 2.668 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 4.416e-05/0.01128, allocations: 35.69 kB / 1.005 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.01134, allocations: 17.72 kB / 1.005 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002657/0.01161, allocations: 326.8 kB / 1.005 GB, free: 2.281 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001562/0.01176, allocations: 39.97 kB / 1.005 GB, free: 2.242 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.01192, allocations: 53.69 kB / 1.005 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004371/0.01236, allocations: 113.9 kB / 1.005 GB, free: 2.066 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.01236, allocations: 3.938 kB / 1.005 GB, free: 2.062 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005388/0.0129, allocations: 141.5 kB / 1.005 GB, free: 1.918 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.516e-05/0.01292, allocations: 4 kB / 1.005 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.01293, allocations: 0 / 1.005 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.826e-05/0.01295, allocations: 0 / 1.005 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.01312, allocations: 27.92 kB / 1.005 GB, free: 1.887 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.01313, allocations: 4 kB / 1.005 GB, free: 1.883 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.01327, allocations: 23.88 kB / 1.005 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.098e-05/0.01328, allocations: 0 / 1.005 GB, free: 1.859 MB / 0.9512 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 0.0001329/0.01341, allocations: 114.4 kB / 1.005 GB, free: 1.738 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.294e-05/0.01347, allocations: 23.81 kB / 1.005 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004981/0.01397, allocations: 162.8 kB / 1.006 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.01398, allocations: 4 kB / 1.006 GB, free: 1.543 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.01398, allocations: 3.938 kB / 1.006 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.01399, allocations: 0 / 1.006 GB, free: 1.539 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.01429, allocations: 153.3 kB / 1.006 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.0143, allocations: 0 / 1.006 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.01445, allocations: 24.16 kB / 1.006 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.01445, allocations: 0 / 1.006 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.01447, allocations: 0 / 1.006 GB, free: 1.336 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.01447, allocations: 4.188 kB / 1.006 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.01447, allocations: 0 / 1.006 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005867/0.01506, allocations: 322.6 kB / 1.006 GB, free: 1 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.775e-05/0.0151, allocations: 19.78 kB / 1.006 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.01512, allocations: 0 / 1.006 GB, free: 0.9805 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.01531, allocations: 11.98 kB / 1.006 GB, free: 0.9688 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.225e-05/0.01539, allocations: 11.92 kB / 1.006 GB, free: 0.957 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.01541, allocations: 4 kB / 1.006 GB, free: 0.9531 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001277/0.01553, allocations: 120.9 kB / 1.006 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.01553, allocations: 0 / 1.006 GB, free: 0.8359 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003098/0.01584, allocations: 32 kB / 1.006 GB, free: 0.8047 MB / 0.9512 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.0001549/0.016, allocations: 95.25 kB / 1.006 GB, free: 0.7031 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004809/0.01648, allocations: 107.9 kB / 1.006 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.01648, allocations: 0 / 1.006 GB, free: 0.5977 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.01666, allocations: 51.91 kB / 1.006 GB, free: 0.5469 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.01714, allocations: 39.89 kB / 1.006 GB, free: 0.5078 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006085/0.01775, allocations: 230.5 kB / 1.007 GB, free: 260 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.01787, allocations: 93.3 kB / 1.007 GB, free: 144 kB / 0.9512 GB Notification: Performance of simCode: alias equations: time 7.967e-05/0.01795, allocations: 8.5 kB / 1.007 GB, free: 136 kB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.119e-05/0.01801, allocations: 16.5 kB / 1.007 GB, free: 120 kB / 0.9512 GB Notification: Performance of SimCode: time 4.91e-07/0.01801, allocations: 0 / 1.007 GB, free: 120 kB / 0.9512 GB Notification: Performance of Templates: time 0.006666/0.02467, allocations: 2.132 MB / 1.009 GB, free: 14.05 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Examples_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 9.508180759847164]