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.001918/0.001918, allocations: 93.47 kB / 19.44 MB, free: 336 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.002115/0.002115, allocations: 169.2 kB / 22.76 MB, free: 1.664 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 1.577/1.577, allocations: 177.1 MB / 203.1 MB, free: 5.578 MB / 186.7 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.457/3.457, allocations: 429.5 MB / 0.6729 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 176] 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.344e-06/2.344e-06, allocations: 0 / 0.8774 GB, free: 6.543 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.643e-05/3.877e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.539 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.006383/0.006421, allocations: 1.848 MB / 0.8792 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006171/0.007038, allocations: 113.1 kB / 0.8793 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.007208, allocations: 5.594 kB / 0.8793 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000206/0.007414, allocations: 15.8 kB / 0.8793 GB, free: 4.582 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.007656, allocations: 48.81 kB / 0.8794 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.007906, allocations: 39.88 kB / 0.8794 GB, free: 4.496 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0004758/0.008381, allocations: 184.1 kB / 0.8796 GB, free: 4.316 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001898/0.008571, allocations: 13.3 kB / 0.8796 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002872/0.008858, allocations: 79.86 kB / 0.8797 GB, free: 4.227 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000202/0.00906, allocations: 52.53 kB / 0.8797 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.209e-05/0.009112, allocations: 14.06 kB / 0.8797 GB, free: 4.164 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.824e-05/0.009161, allocations: 8 kB / 0.8798 GB, free: 4.156 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.794e-05/0.009229, allocations: 31.84 kB / 0.8798 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.009359, allocations: 43.91 kB / 0.8798 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003631/0.009722, allocations: 123.6 kB / 0.8799 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.054e-05/0.009732, allocations: 4 kB / 0.8799 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.453e-06/0.009734, allocations: 3.375 kB / 0.88 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.009743, allocations: 0 / 0.88 GB, free: 3.957 MB / 0.8386 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.001397/0.01114, allocations: 471.7 kB / 0.8804 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 6.19e-05/0.0112, allocations: 12.02 kB / 0.8804 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.01133, allocations: 24.84 kB / 0.8804 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/0.01179, allocations: 161.2 kB / 0.8806 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.155e-05/0.01181, allocations: 4.375 kB / 0.8806 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/0.01184, allocations: 13.48 kB / 0.8806 GB, free: 3.223 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004541/0.0123, allocations: 113.6 kB / 0.8807 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.01231, allocations: 192 / 0.8807 GB, free: 3.098 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.545e-05/0.01235, allocations: 5.406 kB / 0.8807 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.01236, allocations: 384 / 0.8807 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000598/0.01296, allocations: 84.97 kB / 0.8808 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001383/0.01434, allocations: 0.5033 MB / 0.8813 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000623/0.01496, allocations: 134.7 kB / 0.8814 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002614/0.01522, allocations: 64.36 kB / 0.8815 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-05/0.01528, allocations: 0.6875 kB / 0.8815 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.142e-05/0.01534, allocations: 41.39 kB / 0.8815 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=9): time 5.53e-06/0.01535, allocations: 4.859 kB / 0.8815 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of matching and sorting (n=9): time 0.0008593/0.01621, allocations: 158.6 kB / 0.8817 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.01631, allocations: 85.11 kB / 0.8818 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.01668, allocations: 232.6 kB / 0.882 GB, free: 1.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.778e-05/0.01671, allocations: 30.83 kB / 0.882 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001827/0.0169, allocations: 154.8 kB / 0.8822 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.508e-05/0.01696, allocations: 31.75 kB / 0.8822 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.01707, allocations: 32.89 kB / 0.8822 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004297/0.0175, allocations: 0.4962 MB / 0.8827 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.01769, allocations: 31.98 kB / 0.8827 GB, free: 0.8789 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.01789, allocations: 60.27 kB / 0.8828 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004082/0.0183, allocations: 96.03 kB / 0.8829 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.0183, allocations: 0 / 0.8829 GB, free: 0.7109 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005291/0.01883, allocations: 142.4 kB / 0.883 GB, free: 0.5664 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.509e-05/0.01886, allocations: 7.438 kB / 0.883 GB, free: 0.5625 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.01887, allocations: 4 kB / 0.883 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.01889, allocations: 0 / 0.883 GB, free: 0.5586 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002781/0.01917, allocations: 19.98 kB / 0.8831 GB, free: 0.5391 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.707e-05/0.01918, allocations: 4 kB / 0.8831 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.01934, allocations: 15.92 kB / 0.8831 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.574e-05/0.01936, allocations: 0 / 0.8831 GB, free: 0.5195 MB / 0.8386 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.0001973/0.01955, allocations: 168.5 kB / 0.8832 GB, free: 352 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.637e-05/0.01964, allocations: 24.38 kB / 0.8833 GB, free: 328 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.02009, allocations: 143.3 kB / 0.8834 GB, free: 172 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.293e-06/0.0201, allocations: 4 kB / 0.8834 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.0201, allocations: 0 / 0.8834 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.02011, allocations: 0 / 0.8834 GB, free: 168 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003716/0.02048, allocations: 172.7 kB / 0.8836 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.02048, allocations: 0 / 0.8836 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001356/0.02062, allocations: 23.88 kB / 0.8836 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.02062, allocations: 0 / 0.8836 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.02063, allocations: 3.984 kB / 0.8836 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.02064, allocations: 4 kB / 0.8836 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.02064, allocations: 4 kB / 0.8836 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005187/0.02116, allocations: 391 kB / 0.884 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.0212, allocations: 27.81 kB / 0.884 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.02123, allocations: 4 kB / 0.884 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.02137, allocations: 0 / 0.884 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.21e-05/0.02144, allocations: 11.98 kB / 0.884 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.02145, allocations: 4 kB / 0.884 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001501/0.0216, allocations: 168.8 kB / 0.8842 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.0216, allocations: 0 / 0.8842 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000304/0.0219, allocations: 35.95 kB / 0.8842 GB, free: 15.28 MB / 0.8542 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.0001356/0.02204, allocations: 99.19 kB / 0.8843 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003322/0.02237, allocations: 95.64 kB / 0.8844 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.02237, allocations: 0 / 0.8844 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.02252, allocations: 59.91 kB / 0.8845 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.02298, allocations: 44.03 kB / 0.8845 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006051/0.02358, allocations: 234 kB / 0.8847 GB, free: 14.71 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.0237, allocations: 97.11 kB / 0.8848 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 8.35e-05/0.02379, allocations: 16.81 kB / 0.8848 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.536e-05/0.02385, allocations: 12.5 kB / 0.8848 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of SimCode: time 5.41e-07/0.02385, allocations: 0 / 0.8848 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of Templates: time 0.006717/0.03057, allocations: 2.15 MB / 0.8869 GB, free: 12.49 MB / 0.8542 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","/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: 8.94259464496281]