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.001886/0.001886, allocations: 80.45 kB / 19.95 MB, free: 4.605 MB / 18.57 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.002066/0.002066, allocations: 173.2 kB / 23.24 MB, free: 1.324 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.595/1.595, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.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.268/3.268, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 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 1.794e-06/1.794e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.934e-05, allocations: 2.281 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.Sampler): time 0.002344/0.002373, allocations: 0.6623 MB / 1.002 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.004105/0.006478, allocations: 1.085 MB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.212e-05/0.00653, allocations: 0 / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.57e-05/0.006566, allocations: 3.938 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.08e-05/0.006637, allocations: 3.938 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003496/0.006986, allocations: 47.77 kB / 1.003 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.007125, allocations: 55.78 kB / 1.003 GB, free: 11.18 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.539e-05/0.007221, allocations: 8 kB / 1.003 GB, free: 11.17 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/0.007325, allocations: 31.91 kB / 1.003 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.307e-05/0.007388, allocations: 15.97 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.00741, allocations: 4 kB / 1.003 GB, free: 11.12 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 8.878e-05/0.007499, allocations: 23.92 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.015e-05/0.007529, allocations: 11.92 kB / 1.003 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.529e-05/0.007574, allocations: 15.98 kB / 1.003 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002107/0.007785, allocations: 75.69 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.007788, allocations: 4 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.01e-07/0.007788, allocations: 0 / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.007792, allocations: 0 / 1.003 GB, free: 10.99 MB / 0.9636 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.0006323/0.008425, allocations: 286.2 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.008462, allocations: 13.34 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.995e-05/0.008542, allocations: 8.891 kB / 1.003 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.008654, allocations: 105.8 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.008669, allocations: 4.375 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.008681, allocations: 4.375 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002183/0.008899, allocations: 66.22 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.008908, allocations: 192 / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.008918, allocations: 384 / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.008923, allocations: 384 / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001967/0.009119, allocations: 47.84 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004337/0.009553, allocations: 216.5 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.009741, allocations: 54.55 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.009847, allocations: 32.95 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 2.124e-05/0.009868, allocations: 0 / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.01006, allocations: 79.25 kB / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.01006, allocations: 0 / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of matching and sorting (n=6): time 0.0004216/0.01048, allocations: 117.6 kB / 1.004 GB, free: 9.855 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.01054, allocations: 59.39 kB / 1.004 GB, free: 9.785 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.01065, allocations: 102.3 kB / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.291e-05/0.01067, allocations: 29.64 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.798e-05/0.01074, allocations: 96.08 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.945e-05/0.01076, allocations: 11.84 kB / 1.004 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.01081, allocations: 21.72 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.01098, allocations: 322.8 kB / 1.005 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.01108, allocations: 23.98 kB / 1.005 GB, free: 9.156 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000123/0.01121, allocations: 55.47 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002172/0.01142, allocations: 87.31 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.01143, allocations: 0 / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002785/0.0117, allocations: 97.58 kB / 1.005 GB, free: 8.891 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.01172, allocations: 15.97 kB / 1.005 GB, free: 8.875 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.01173, allocations: 4 kB / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.01174, allocations: 0 / 1.005 GB, free: 8.871 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.01184, allocations: 15.98 kB / 1.005 GB, free: 8.855 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.01185, allocations: 3.938 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.309e-05/0.01192, allocations: 7.984 kB / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.01192, allocations: 4 kB / 1.005 GB, free: 8.84 MB / 0.9636 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.0001042/0.01203, allocations: 113.8 kB / 1.005 GB, free: 8.719 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.75e-05/0.01205, allocations: 11.89 kB / 1.005 GB, free: 8.707 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002914/0.01234, allocations: 102.1 kB / 1.005 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.01234, allocations: 4 kB / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.01234, allocations: 0 / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.01234, allocations: 0 / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00047/0.01281, allocations: 302.2 kB / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.01282, allocations: 0 / 1.005 GB, free: 8.266 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.867e-05/0.01287, allocations: 8 kB / 1.006 GB, free: 8.258 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.01288, allocations: 3.984 kB / 1.006 GB, free: 8.254 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.01289, allocations: 4 kB / 1.006 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.01289, allocations: 0 / 1.006 GB, free: 8.25 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01289, allocations: 4 kB / 1.006 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005861/0.01347, allocations: 195.5 kB / 1.006 GB, free: 8.039 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.423e-05/0.01349, allocations: 11.92 kB / 1.006 GB, free: 8.027 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.493e-05/0.0135, allocations: 4 kB / 1.006 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.529e-05/0.0136, allocations: 7.984 kB / 1.006 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.01364, allocations: 8 kB / 1.006 GB, free: 8.008 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.142e-05/0.01365, allocations: 4 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 5.498e-05/0.01371, allocations: 91.2 kB / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.01371, allocations: 0 / 1.006 GB, free: 7.914 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002335/0.01394, allocations: 15.95 kB / 1.006 GB, free: 7.898 MB / 0.9636 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.0001604/0.0141, allocations: 99.25 kB / 1.006 GB, free: 7.789 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002521/0.01435, allocations: 67.88 kB / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01436, allocations: 0 / 1.006 GB, free: 7.723 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.01447, allocations: 32.11 kB / 1.006 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.01471, allocations: 11.92 kB / 1.006 GB, free: 7.68 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003347/0.01504, allocations: 132.9 kB / 1.006 GB, free: 7.523 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.266e-05/0.01512, allocations: 67.33 kB / 1.006 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.805e-05/0.01515, allocations: 4 kB / 1.006 GB, free: 7.434 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.01517, allocations: 12.5 kB / 1.006 GB, free: 7.422 MB / 0.9636 GB Notification: Performance of SimCode: time 4.81e-07/0.01517, allocations: 4 kB / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of Templates: time 0.003837/0.01901, allocations: 0.8238 MB / 1.007 GB, free: 6.613 MB / 0.9636 GB " [Timeout remaining time 300] 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: 8.97596956603229]