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.001796/0.001796, allocations: 115.7 kB / 18.89 MB, free: 2.898 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.002091/0.002091, allocations: 199.6 kB / 22.17 MB, free: 5.211 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.645/1.645, allocations: 225.6 MB / 250.9 MB, free: 13.25 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.893/2.893, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 176] 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.002007/0.002007, allocations: 71.89 kB / 1.109 GB, free: 6.473 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.978/0.98, allocations: 168.7 MB / 1.274 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.002615/0.9826, allocations: 0.7044 MB / 1.275 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.9838, allocations: 0.8118 MB / 1.276 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.826e-05/0.9838, allocations: 0 / 1.276 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.552e-05/0.9839, allocations: 3.938 kB / 1.276 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.551e-05/0.984, allocations: 3.938 kB / 1.276 GB, free: 2.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001476/0.9841, allocations: 19.98 kB / 1.276 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.9842, allocations: 43.8 kB / 1.276 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001436/0.9844, allocations: 15.97 kB / 1.276 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.176e-05/0.9845, allocations: 11.98 kB / 1.276 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.702e-05/0.9845, allocations: 23.92 kB / 1.276 GB, free: 2.727 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.9846, allocations: 4 kB / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.207e-05/0.9846, allocations: 0 / 1.276 GB, free: 2.723 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.309e-05/0.9846, allocations: 15.92 kB / 1.276 GB, free: 2.707 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.9846, allocations: 11.94 kB / 1.276 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001221/0.9848, allocations: 42.48 kB / 1.276 GB, free: 2.656 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.9848, allocations: 4 kB / 1.276 GB, free: 2.652 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.535e-06/0.9848, allocations: 4 kB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.862e-06/0.9848, allocations: 0 / 1.276 GB, free: 2.648 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.0007119/0.9855, allocations: 363.3 kB / 1.276 GB, free: 2.242 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.9855, allocations: 8.031 kB / 1.276 GB, free: 2.234 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.9856, allocations: 8.891 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002101/0.9858, allocations: 176.2 kB / 1.276 GB, free: 2.016 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.663e-05/0.9858, allocations: 8.312 kB / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.9858, allocations: 384 / 1.276 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002778/0.9861, allocations: 74.2 kB / 1.276 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.9861, allocations: 192 / 1.276 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.9861, allocations: 3.938 kB / 1.276 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.9861, allocations: 7.984 kB / 1.276 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003059/0.9864, allocations: 63.92 kB / 1.276 GB, free: 1.855 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004533/0.9869, allocations: 272.9 kB / 1.277 GB, free: 1.539 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002182/0.9871, allocations: 54.48 kB / 1.277 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001563/0.9873, allocations: 40.91 kB / 1.277 GB, free: 1.434 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.083e-05/0.9873, allocations: 4 kB / 1.277 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.477e-05/0.9873, allocations: 30.56 kB / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.9873, allocations: 0 / 1.277 GB, free: 1.391 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005802/0.9879, allocations: 125.5 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.808e-05/0.988, allocations: 63.39 kB / 1.277 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.848e-05/0.9881, allocations: 101.9 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.9881, allocations: 25.7 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.806e-05/0.9881, allocations: 92.12 kB / 1.277 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.042e-05/0.9882, allocations: 15.84 kB / 1.277 GB, free: 0.9375 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.9882, allocations: 13.72 kB / 1.277 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.9884, allocations: 318.8 kB / 1.278 GB, free: 0.5977 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/0.9885, allocations: 27.97 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.9887, allocations: 35.95 kB / 1.278 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/0.9889, allocations: 60.8 kB / 1.278 GB, free: 484 kB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/0.9889, allocations: 3.938 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003346/0.9893, allocations: 113.5 kB / 1.278 GB, free: 360 kB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.9893, allocations: 9.719 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.9893, allocations: 0 / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.9893, allocations: 0 / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.9895, allocations: 19.98 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.9895, allocations: 0 / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.03e-05/0.9896, allocations: 15.94 kB / 1.278 GB, free: 316 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.9896, allocations: 4 kB / 1.278 GB, free: 312 kB / 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 9.72e-05/0.9897, allocations: 110.3 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.9897, allocations: 11.98 kB / 1.278 GB, free: 180 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003685/0.9901, allocations: 101.5 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.9901, allocations: 4 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.9901, allocations: 4 kB / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.9901, allocations: 0 / 1.278 GB, free: 60 kB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.9903, allocations: 169.6 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.9903, allocations: 0 / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.904e-05/0.9904, allocations: 15.97 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.9904, allocations: 7.938 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.9904, allocations: 384 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.9904, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9904, allocations: 0 / 1.278 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003951/0.9908, allocations: 203.4 kB / 1.278 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.9908, allocations: 81.11 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.9909, allocations: 3.984 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.991, allocations: 7.984 kB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.417e-05/0.991, allocations: 11.94 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.991, allocations: 4 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.261e-05/0.9911, allocations: 87.27 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9911, allocations: 0 / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002134/0.9913, allocations: 8 kB / 1.279 GB, free: 15.39 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.0001719/0.9914, allocations: 99.25 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003599/0.9918, allocations: 67.92 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.9918, allocations: 4 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.992, allocations: 35.95 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.9923, allocations: 11.03 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003897/0.9927, allocations: 149.3 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.993, allocations: 0.6846 MB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.765e-05/0.9931, allocations: 4 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.9931, allocations: 7.438 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.9931, allocations: 0 / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of Templates: time 0.003441/0.9965, allocations: 0.6888 MB / 1.28 GB, free: 13.59 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 cvode -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.567794842645526]