Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.002105/0.002105, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.002512/0.002512, allocations: 194.2 kB / 22.17 MB, free: 5.656 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.543/1.543, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.83/2.83, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002248/0.002248, allocations: 67.91 kB / 1.109 GB, free: 6.508 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9705/0.9727, allocations: 168.7 MB / 1.274 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.003041/0.9758, allocations: 0.7083 MB / 1.275 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.9774, allocations: 0.8157 MB / 1.276 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/0.9775, allocations: 0 / 1.276 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.463e-05/0.9775, allocations: 3.938 kB / 1.276 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.776e-05/0.9776, allocations: 3.938 kB / 1.276 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001406/0.9777, allocations: 15.98 kB / 1.276 GB, free: 3.031 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.9779, allocations: 47.84 kB / 1.276 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.978, allocations: 8 kB / 1.276 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001052/0.9781, allocations: 23.91 kB / 1.276 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.474e-05/0.9782, allocations: 19.92 kB / 1.276 GB, free: 2.934 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.956e-05/0.9782, allocations: 4 kB / 1.276 GB, free: 2.93 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 2.031e-05/0.9783, allocations: 4 kB / 1.276 GB, free: 2.926 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.346e-05/0.9783, allocations: 11.92 kB / 1.276 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.448e-05/0.9783, allocations: 11.94 kB / 1.276 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.9785, allocations: 46.47 kB / 1.276 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.9785, allocations: 0 / 1.276 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9785, allocations: 0 / 1.276 GB, free: 2.859 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.9785, allocations: 4 kB / 1.276 GB, free: 2.855 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0008376/0.9793, allocations: 367.3 kB / 1.276 GB, free: 2.445 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.9794, allocations: 8.031 kB / 1.276 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.9794, allocations: 8.891 kB / 1.276 GB, free: 2.43 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002522/0.9797, allocations: 172.3 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.9797, allocations: 4.375 kB / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.9797, allocations: 384 / 1.276 GB, free: 2.219 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004235/0.9801, allocations: 74.22 kB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.9801, allocations: 192 / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.9802, allocations: 3.938 kB / 1.276 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.9802, allocations: 0 / 1.276 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004933/0.9807, allocations: 67.86 kB / 1.276 GB, free: 2.07 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006072/0.9813, allocations: 268.9 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003408/0.9816, allocations: 54.48 kB / 1.277 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002598/0.9819, allocations: 40.91 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.856e-05/0.9819, allocations: 0 / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/0.9819, allocations: 38.5 kB / 1.277 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/0.9819, allocations: 4 kB / 1.277 GB, free: 1.602 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0009187/0.9829, allocations: 125.8 kB / 1.277 GB, free: 1.473 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.9829, allocations: 51.41 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001597/0.9831, allocations: 109.8 kB / 1.277 GB, free: 1.293 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.9831, allocations: 25.7 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.926e-05/0.9832, allocations: 88.14 kB / 1.277 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.9832, allocations: 11.84 kB / 1.277 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.875e-05/0.9833, allocations: 17.72 kB / 1.277 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002189/0.9835, allocations: 314.8 kB / 1.278 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002795/0.9838, allocations: 31.97 kB / 1.278 GB, free: 0.7891 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.984, allocations: 39.94 kB / 1.278 GB, free: 0.75 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005642/0.9846, allocations: 72.72 kB / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.9846, allocations: 3.938 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005371/0.9851, allocations: 97.62 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.9851, allocations: 7.938 kB / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.9851, allocations: 0 / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.285e-05/0.9852, allocations: 0 / 1.278 GB, free: 0.5625 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/0.9854, allocations: 15.98 kB / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.9854, allocations: 0 / 1.278 GB, free: 0.5469 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.9855, allocations: 23.92 kB / 1.278 GB, free: 0.5234 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.9855, allocations: 3.938 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0001297/0.9857, allocations: 118.3 kB / 1.278 GB, free: 404 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.013e-05/0.9857, allocations: 3.938 kB / 1.278 GB, free: 400 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006055/0.9863, allocations: 105.5 kB / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.9863, allocations: 0 / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.9863, allocations: 0 / 1.278 GB, free: 284 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.9863, allocations: 4 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.9867, allocations: 169.6 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.9867, allocations: 4 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.9868, allocations: 19.97 kB / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.9868, allocations: 0 / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.9868, allocations: 0 / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9868, allocations: 0 / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.9868, allocations: 0 / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000628/0.9875, allocations: 203.3 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.9875, allocations: 85.09 kB / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.527e-05/0.9876, allocations: 0 / 1.279 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001964/0.9878, allocations: 11.98 kB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.489e-05/0.9878, allocations: 0 / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.9878, allocations: 0 / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.029e-05/0.9879, allocations: 95.27 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.9879, allocations: 0 / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004177/0.9883, allocations: 8 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * 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.0002303/0.9885, allocations: 99.25 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005804/0.9891, allocations: 71.86 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9891, allocations: 4 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002415/0.9894, allocations: 35.95 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005551/0.9899, allocations: 7.938 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006144/0.9905, allocations: 148.8 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.991, allocations: 0.6807 MB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.805e-05/0.9911, allocations: 4 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.038e-05/0.9911, allocations: 11.44 kB / 1.28 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.9911, allocations: 3.938 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of Templates: time 0.004798/0.9959, allocations: 0.6898 MB / 1.28 GB, free: 13.8 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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.12121699564159]