Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.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.002112/0.002112, allocations: 108.3 kB / 19.72 MB, free: 416 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.002808/0.002808, allocations: 213.8 kB / 23.02 MB, free: 2.957 MB / 13.93 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.783/1.783, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.548/3.548, allocations: 0.5045 GB / 0.8104 GB, free: 2.82 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") translateModel(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003923/0.003923, allocations: 67.89 kB / 1.177 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.974/0.9779, allocations: 180 MB / 1.353 GB, free: 1.613 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.00265/0.9805, allocations: 0.6607 MB / 1.354 GB, free: 0.957 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.002158/0.9827, allocations: 1.077 MB / 1.355 GB, free: 15.87 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.048e-05/0.9828, allocations: 0 / 1.355 GB, free: 15.87 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.9828, allocations: 4 kB / 1.355 GB, free: 15.86 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.9829, allocations: 11.88 kB / 1.355 GB, free: 15.85 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.9833, allocations: 43.89 kB / 1.355 GB, free: 15.81 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.9834, allocations: 51.78 kB / 1.355 GB, free: 15.76 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.9835, allocations: 4 kB / 1.355 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.638e-05/0.9836, allocations: 23.98 kB / 1.355 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.031e-05/0.9837, allocations: 27.84 kB / 1.355 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.9837, allocations: 4 kB / 1.355 GB, free: 15.7 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001059/0.9838, allocations: 15.98 kB / 1.355 GB, free: 15.68 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 3.747e-05/0.9838, allocations: 15.92 kB / 1.355 GB, free: 15.67 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.877e-05/0.9839, allocations: 15.94 kB / 1.355 GB, free: 15.65 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002093/0.9841, allocations: 58.66 kB / 1.355 GB, free: 15.6 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.9841, allocations: 0 / 1.355 GB, free: 15.6 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9841, allocations: 0 / 1.355 GB, free: 15.6 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.083e-06/0.9841, allocations: 3.938 kB / 1.355 GB, free: 15.59 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008067/0.9849, allocations: 298.1 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.085e-05/0.985, allocations: 8.922 kB / 1.355 GB, free: 15.26 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.9851, allocations: 8.891 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.9852, allocations: 110.5 kB / 1.355 GB, free: 15.12 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.9853, allocations: 8.359 kB / 1.355 GB, free: 15.11 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.769e-05/0.9853, allocations: 384 / 1.355 GB, free: 15.11 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.9855, allocations: 70.2 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.9855, allocations: 192 / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.9856, allocations: 3.938 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.9856, allocations: 4 kB / 1.355 GB, free: 15.03 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002054/0.9858, allocations: 47.89 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006977/0.9865, allocations: 208.6 kB / 1.356 GB, free: 14.75 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002872/0.9868, allocations: 50.55 kB / 1.356 GB, free: 14.69 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.9869, allocations: 40.91 kB / 1.356 GB, free: 14.65 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.994e-05/0.9869, allocations: 0 / 1.356 GB, free: 14.65 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000196/0.9871, allocations: 83.27 kB / 1.356 GB, free: 14.55 MB / 1.042 GB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.9871, allocations: 0 / 1.356 GB, free: 14.55 MB / 1.042 GB Notification: Performance of matching and sorting (n=6): time 0.0004741/0.9876, allocations: 121.6 kB / 1.356 GB, free: 14.43 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.895e-05/0.9876, allocations: 55.41 kB / 1.356 GB, free: 14.36 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.9878, allocations: 105.8 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.415e-05/0.9878, allocations: 25.7 kB / 1.356 GB, free: 14.22 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.9879, allocations: 84.14 kB / 1.356 GB, free: 14.13 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-05/0.9879, allocations: 23.83 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.398e-05/0.9879, allocations: 21.72 kB / 1.356 GB, free: 14.08 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.9881, allocations: 314.8 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.9882, allocations: 28.05 kB / 1.356 GB, free: 13.74 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.9884, allocations: 55.33 kB / 1.357 GB, free: 13.67 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.9886, allocations: 79.39 kB / 1.357 GB, free: 13.58 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.9886, allocations: 0 / 1.357 GB, free: 13.58 MB / 1.042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000289/0.9889, allocations: 109.4 kB / 1.357 GB, free: 13.47 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.9889, allocations: 8 kB / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.9889, allocations: 0 / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.9889, allocations: 0 / 1.357 GB, free: 13.46 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.9891, allocations: 19.92 kB / 1.357 GB, free: 13.44 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.9891, allocations: 8.078 kB / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.396e-05/0.9891, allocations: 4 kB / 1.357 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.9891, allocations: 7.938 kB / 1.357 GB, free: 13.42 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (sampler1.firstTrigger,$PRE.sampler1.firstTrigger,sampler1.sampleTrigger,$whenCondition1,sampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001433/0.9893, allocations: 123.5 kB / 1.357 GB, free: 13.29 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.9893, allocations: 11.94 kB / 1.357 GB, free: 13.28 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000325/0.9896, allocations: 102 kB / 1.357 GB, free: 13.17 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.9896, allocations: 0 / 1.357 GB, free: 13.17 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.9896, allocations: 0 / 1.357 GB, free: 13.17 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.9896, allocations: 4 kB / 1.357 GB, free: 13.17 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004799/0.9901, allocations: 294.7 kB / 1.357 GB, free: 12.84 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.9901, allocations: 4.062 kB / 1.357 GB, free: 12.84 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.744e-05/0.9902, allocations: 11.98 kB / 1.357 GB, free: 12.83 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.9902, allocations: 0 / 1.357 GB, free: 12.83 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.9902, allocations: 0 / 1.357 GB, free: 12.83 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.9902, allocations: 4 kB / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.9902, allocations: 0 / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003401/0.9905, allocations: 203.3 kB / 1.357 GB, free: 12.61 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.564e-05/0.9905, allocations: 4 kB / 1.357 GB, free: 12.61 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/0.9906, allocations: 0 / 1.357 GB, free: 12.61 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.152e-05/0.9907, allocations: 7.984 kB / 1.358 GB, free: 12.6 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.23e-05/0.9907, allocations: 11.98 kB / 1.358 GB, free: 12.59 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.9907, allocations: 0 / 1.358 GB, free: 12.59 MB / 1.042 GB Notification: Performance of sorting global known variables: time 5.823e-05/0.9908, allocations: 83.28 kB / 1.358 GB, free: 12.5 MB / 1.042 GB Notification: Performance of sort global known variables: time 8e-08/0.9908, allocations: 0 / 1.358 GB, free: 12.5 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002351/0.991, allocations: 15.94 kB / 1.358 GB, free: 12.49 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (sampler1.sampleTrigger,$whenCondition1,sampler1.y,sampler1.firstTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001733/0.9912, allocations: 103.2 kB / 1.358 GB, free: 12.38 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002794/0.9915, allocations: 67.83 kB / 1.358 GB, free: 12.31 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.9915, allocations: 4 kB / 1.358 GB, free: 12.31 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.9916, allocations: 27.97 kB / 1.358 GB, free: 12.28 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.9918, allocations: 5.719 kB / 1.358 GB, free: 12.28 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004006/0.9922, allocations: 146.4 kB / 1.358 GB, free: 12.11 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.807e-05/0.9923, allocations: 65.69 kB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.638e-05/0.9924, allocations: 7.75 kB / 1.358 GB, free: 12.02 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.9924, allocations: 15.38 kB / 1.358 GB, free: 12 MB / 1.042 GB Notification: Performance of SimCode: time 8.01e-07/0.9924, allocations: 0 / 1.358 GB, free: 12 MB / 1.042 GB Notification: Performance of Templates: time 0.003963/0.9963, allocations: 0.8383 MB / 1.359 GB, free: 11.18 MB / 1.042 GB " [Timeout remaining time 299] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 10.749823270365596]