Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001645/0.001645, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 189.7 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.576/1.576, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.917/2.917, allocations: 476.7 MB / 0.7646 GB, free: 9.895 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heaCur.TSup|heaCur.TRet|heaCur.TOut|heaCur1.TSetZon|heaCur1.TSup|heaCur1.TRet",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 63.91 kB / 1.11 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.152/1.154, allocations: 168.8 MB / 1.274 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset): time 0.005221/1.159, allocations: 2.228 MB / 1.276 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003729/1.163, allocations: 1.54 MB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006421/1.163, allocations: 8 kB / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0003075/1.164, allocations: 67.19 kB / 1.278 GB, free: 384 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0005855/1.164, allocations: 91.08 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001157/1.165, allocations: 298 kB / 1.278 GB, free: 15.99 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001019/1.166, allocations: 0.6331 MB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005004/1.167, allocations: 274.4 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003162/1.167, allocations: 239.1 kB / 1.28 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003153/1.167, allocations: 258.8 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.849e-05/1.168, allocations: 75.94 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001522/1.168, allocations: 83.98 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000127/1.168, allocations: 131.6 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002941/1.168, allocations: 286.5 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009659/1.169, allocations: 0.7959 MB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.169, allocations: 0 / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.362e-06/1.169, allocations: 0 / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.086e-05/1.169, allocations: 7.938 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.001297/1.17, allocations: 0.7564 MB / 1.282 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/1.17, allocations: 8.031 kB / 1.282 GB, free: 12.42 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/1.171, allocations: 64.56 kB / 1.282 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004705/1.171, allocations: 298 kB / 1.282 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.486e-05/1.171, allocations: 41.69 kB / 1.282 GB, free: 12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.874e-05/1.171, allocations: 60.36 kB / 1.282 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008892/1.172, allocations: 0.5033 MB / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/1.172, allocations: 192 / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.103e-05/1.172, allocations: 23.94 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.769e-05/1.172, allocations: 16 kB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006987/1.173, allocations: 365 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002204/1.175, allocations: 1.4 MB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005887/1.176, allocations: 265.4 kB / 1.285 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003885/1.176, allocations: 157.6 kB / 1.285 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/1.176, allocations: 7.938 kB / 1.285 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003852/1.176, allocations: 202.9 kB / 1.285 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=34): time 1.713e-06/1.176, allocations: 0 / 1.285 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of matching and sorting (n=34): time 0.0008687/1.177, allocations: 389.1 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.031e-05/1.177, allocations: 81.11 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005051/1.178, allocations: 417.6 kB / 1.286 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/1.178, allocations: 37.7 kB / 1.286 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/1.178, allocations: 268.4 kB / 1.286 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.945e-05/1.178, allocations: 119 kB / 1.286 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/1.178, allocations: 90.06 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001905/1.179, allocations: 350.8 kB / 1.287 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/1.179, allocations: 132.8 kB / 1.287 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003511/1.179, allocations: 211.1 kB / 1.287 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005983/1.18, allocations: 342.4 kB / 1.287 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.18, allocations: 0 / 1.287 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008806/1.181, allocations: 477.6 kB / 1.288 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.85e-05/1.181, allocations: 41.69 kB / 1.288 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.257e-06/1.181, allocations: 4 kB / 1.288 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.181, allocations: 4 kB / 1.288 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/1.181, allocations: 79.83 kB / 1.288 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/1.181, allocations: 7.938 kB / 1.288 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003414/1.181, allocations: 79.48 kB / 1.288 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/1.182, allocations: 28.05 kB / 1.288 GB, free: 5.699 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,TRoo1.booPul.y,$PRE.TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * 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.0002195/1.182, allocations: 169.7 kB / 1.288 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/1.182, allocations: 43.66 kB / 1.288 GB, free: 5.48 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006697/1.182, allocations: 329.3 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/1.182, allocations: 4 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.475e-06/1.182, allocations: 7.938 kB / 1.289 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/1.182, allocations: 3.984 kB / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00127/1.184, allocations: 0.9427 MB / 1.29 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/1.184, allocations: 0 / 1.29 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002303/1.184, allocations: 59.91 kB / 1.29 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/1.184, allocations: 4 kB / 1.29 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/1.184, allocations: 8 kB / 1.29 GB, free: 4.051 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/1.184, allocations: 4 kB / 1.29 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.64e-06/1.184, allocations: 4 kB / 1.29 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000699/1.185, allocations: 0.5147 MB / 1.29 GB, free: 3.492 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.836e-05/1.185, allocations: 55.64 kB / 1.29 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.679e-05/1.185, allocations: 16 kB / 1.29 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002118/1.185, allocations: 11.98 kB / 1.29 GB, free: 3.41 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/1.185, allocations: 31.89 kB / 1.29 GB, free: 3.379 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/1.185, allocations: 11.94 kB / 1.29 GB, free: 3.367 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003388/1.186, allocations: 287.2 kB / 1.291 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/1.186, allocations: 0 / 1.291 GB, free: 3.094 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004635/1.186, allocations: 107.8 kB / 1.291 GB, free: 2.988 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001943/1.186, allocations: 115.2 kB / 1.291 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007366/1.187, allocations: 359 kB / 1.291 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/1.187, allocations: 0 / 1.291 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002709/1.187, allocations: 128.6 kB / 1.291 GB, free: 2.379 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005649/1.188, allocations: 67.34 kB / 1.291 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/1.189, allocations: 0.7627 MB / 1.292 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005367/1.19, allocations: 0.8237 MB / 1.293 GB, free: 0.6562 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001537/1.19, allocations: 43.27 kB / 1.293 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.759e-05/1.19, allocations: 35.38 kB / 1.293 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of SimCode: time 6.82e-07/1.19, allocations: 3.938 kB / 1.293 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of Templates: time 0.009856/1.2, allocations: 4.25 MB / 1.297 GB, free: 12.36 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & ./Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.Utilities.SetPoints.Validation.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.813527455553412]