Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 186.4 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.839/1.839, allocations: 292.3 MB / 0.549 GB, free: 12.73 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 71.8 kB / 0.6723 GB, free: 25.99 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3044, allocations: 114.5 MB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002684/0.3072, allocations: 0.7691 MB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.3089, allocations: 1.071 MB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.609e-05/0.309, allocations: 0 / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.056e-05/0.3091, allocations: 11.86 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.196e-05/0.3092, allocations: 7.922 kB / 0.786 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004249/0.3096, allocations: 47.84 kB / 0.786 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.3098, allocations: 79.75 kB / 0.7861 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.3099, allocations: 16.12 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.434e-05/0.31, allocations: 27.92 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.293e-05/0.3101, allocations: 43.83 kB / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.3101, allocations: 4 kB / 0.7862 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-05/0.3102, allocations: 15.98 kB / 0.7862 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.473e-05/0.3102, allocations: 15.98 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.521e-05/0.3103, allocations: 31.8 kB / 0.7862 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.3104, allocations: 75.75 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.3105, allocations: 4 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3105, allocations: 0 / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.3105, allocations: 0 / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006136/0.3111, allocations: 383.2 kB / 0.7867 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/0.3112, allocations: 12.03 kB / 0.7867 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.3112, allocations: 8.844 kB / 0.7867 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001368/0.3113, allocations: 176.2 kB / 0.7869 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.3114, allocations: 4.375 kB / 0.7869 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.3114, allocations: 4.375 kB / 0.7869 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002139/0.3116, allocations: 70.22 kB / 0.7869 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.3116, allocations: 3.938 kB / 0.7869 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3116, allocations: 7.984 kB / 0.7869 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.3117, allocations: 0 / 0.7869 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001792/0.3119, allocations: 51.89 kB / 0.787 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007074/0.3126, allocations: 321.7 kB / 0.7873 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.3127, allocations: 58.58 kB / 0.7874 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.522e-05/0.3129, allocations: 24.97 kB / 0.7874 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.3129, allocations: 11.94 kB / 0.7874 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001956/0.3131, allocations: 79.36 kB / 0.7875 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.3131, allocations: 0 / 0.7875 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7): time 0.0004271/0.3135, allocations: 129.5 kB / 0.7876 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.3136, allocations: 59.34 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.3137, allocations: 125.8 kB / 0.7878 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.3137, allocations: 29.7 kB / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.3138, allocations: 84.14 kB / 0.7879 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.3138, allocations: 19.75 kB / 0.7879 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.3139, allocations: 33.7 kB / 0.7879 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.314, allocations: 326.8 kB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001016/0.3141, allocations: 27.97 kB / 0.7883 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.3143, allocations: 69.98 kB / 0.7883 GB, free: 8.168 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002179/0.3145, allocations: 109.9 kB / 0.7884 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3145, allocations: 0 / 0.7884 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002934/0.3148, allocations: 133.4 kB / 0.7886 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.3148, allocations: 8 kB / 0.7886 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.3148, allocations: 0 / 0.7886 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.3149, allocations: 4 kB / 0.7886 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.315, allocations: 24.14 kB / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.315, allocations: 4 kB / 0.7886 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.979e-05/0.3151, allocations: 11.89 kB / 0.7886 GB, free: 7.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.3151, allocations: 4 kB / 0.7886 GB, free: 7.848 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.461e-05/0.3152, allocations: 128.4 kB / 0.7887 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.715e-05/0.3152, allocations: 4 kB / 0.7887 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.963e-05/0.3153, allocations: 12.36 kB / 0.7888 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.3153, allocations: 0 / 0.7888 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.3153, allocations: 4 kB / 0.7888 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3153, allocations: 0 / 0.7888 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004614/0.3158, allocations: 386.2 kB / 0.7891 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3158, allocations: 0 / 0.7891 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/0.3158, allocations: 4 kB / 0.7891 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.3158, allocations: 3.938 kB / 0.7891 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.3158, allocations: 7.984 kB / 0.7891 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.624e-06/0.3159, allocations: 3.938 kB / 0.7891 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3159, allocations: 4 kB / 0.7891 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.3161, allocations: 195.4 kB / 0.7893 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.203e-05/0.3162, allocations: 81.11 kB / 0.7894 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.3162, allocations: 3.984 kB / 0.7894 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.316e-05/0.3163, allocations: 11.94 kB / 0.7894 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.3163, allocations: 11.98 kB / 0.7894 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.3164, allocations: 0 / 0.7894 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.997e-05/0.3164, allocations: 95.2 kB / 0.7895 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.3164, allocations: 0 / 0.7895 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002522/0.3167, allocations: 27.91 kB / 0.7896 GB, free: 6.785 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001577/0.3168, allocations: 104.2 kB / 0.7897 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002707/0.3171, allocations: 87.88 kB / 0.7897 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3171, allocations: 0 / 0.7897 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.3172, allocations: 35.97 kB / 0.7898 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.3175, allocations: 6.438 kB / 0.7898 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.3179, allocations: 158.1 kB / 0.7899 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002793/0.3182, allocations: 0.6927 MB / 0.7906 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.548e-05/0.3182, allocations: 4 kB / 0.7906 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.3183, allocations: 15.42 kB / 0.7906 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of SimCode: time 2.094e-06/0.3183, allocations: 0 / 0.7906 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of Templates: time 0.003437/0.3217, allocations: 0.98 MB / 0.7916 GB, free: 4.691 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)