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.001364/0.001364, allocations: 107.6 kB / 16.29 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001598/0.001599, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.668/1.668, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.962/1.962, allocations: 292.3 MB / 0.5495 GB, free: 17.53 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.001529/0.00153, allocations: 75.88 kB / 0.6722 GB, free: 6.492 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2947/0.2962, allocations: 114.6 MB / 0.7841 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002356/0.2986, allocations: 0.7481 MB / 0.7848 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001468/0.3001, allocations: 1.071 MB / 0.7859 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.9e-05/0.3002, allocations: 0 / 0.7859 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.8e-05/0.3002, allocations: 3.938 kB / 0.7859 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.019e-05/0.3004, allocations: 15.86 kB / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.3007, allocations: 51.83 kB / 0.786 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001073/0.3008, allocations: 75.77 kB / 0.786 GB, free: 1.836 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001222/0.301, allocations: 16.17 kB / 0.786 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.016e-05/0.3011, allocations: 31.92 kB / 0.7861 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.486e-05/0.3011, allocations: 39.83 kB / 0.7861 GB, free: 1.746 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.971e-05/0.3012, allocations: 8 kB / 0.7861 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.405e-05/0.3013, allocations: 19.92 kB / 0.7861 GB, free: 1.719 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.549e-05/0.3013, allocations: 15.94 kB / 0.7861 GB, free: 1.703 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.3013, allocations: 31.84 kB / 0.7862 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001724/0.3015, allocations: 76.02 kB / 0.7863 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.3015, allocations: 3.938 kB / 0.7863 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.607e-06/0.3015, allocations: 0 / 0.7863 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.3016, allocations: 0 / 0.7863 GB, free: 1.594 MB / 0.6544 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.00073/0.3023, allocations: 387.2 kB / 0.7866 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.003e-05/0.3024, allocations: 8.031 kB / 0.7866 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/0.3024, allocations: 8.844 kB / 0.7866 GB, free: 1.152 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001641/0.3026, allocations: 180.2 kB / 0.7868 GB, free: 0.9375 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.3026, allocations: 4.375 kB / 0.7868 GB, free: 0.9336 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.3026, allocations: 4.375 kB / 0.7868 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.3029, allocations: 70.17 kB / 0.7869 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.3029, allocations: 11.94 kB / 0.7869 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.3029, allocations: 3.984 kB / 0.7869 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.3029, allocations: 0 / 0.7869 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.3031, allocations: 39.97 kB / 0.7869 GB, free: 0.8008 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007287/0.3038, allocations: 320.7 kB / 0.7872 GB, free: 448 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.304, allocations: 62.48 kB / 0.7873 GB, free: 376 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.192e-05/0.3041, allocations: 24.97 kB / 0.7873 GB, free: 348 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.3042, allocations: 4 kB / 0.7873 GB, free: 344 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002439/0.3044, allocations: 87.31 kB / 0.7874 GB, free: 244 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.3044, allocations: 0 / 0.7874 GB, free: 244 kB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.0004428/0.3049, allocations: 129.6 kB / 0.7875 GB, free: 108 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.3049, allocations: 51.41 kB / 0.7876 GB, free: 44 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4679/0.7729, allocations: 124.7 kB / 0.7877 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 4.552e-05/0.773, allocations: 30.86 kB / 0.7877 GB, free: 48.83 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.518e-05/0.773, allocations: 89.75 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.261e-05/0.7731, allocations: 17.28 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.927e-05/0.7731, allocations: 29.25 kB / 0.7879 GB, free: 48.73 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.653e-05/0.7732, allocations: 324.2 kB / 0.7882 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.7734, allocations: 30.59 kB / 0.7882 GB, free: 48.42 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001207/0.7735, allocations: 75.09 kB / 0.7883 GB, free: 48.37 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002133/0.7737, allocations: 108.5 kB / 0.7884 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.7737, allocations: 0 / 0.7884 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002977/0.774, allocations: 132.5 kB / 0.7885 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.7741, allocations: 8.094 kB / 0.7885 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.7741, allocations: 0 / 0.7885 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.7741, allocations: 6.906 kB / 0.7885 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.7743, allocations: 24.8 kB / 0.7885 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.7743, allocations: 2.781 kB / 0.7885 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.537e-05/0.7744, allocations: 12.7 kB / 0.7886 GB, free: 48.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.7744, allocations: 4.562 kB / 0.7886 GB, free: 48.28 MB / 0.6544 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 8.933e-05/0.7745, allocations: 115.9 kB / 0.7887 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.516e-05/0.7745, allocations: 6.219 kB / 0.7887 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.633e-05/0.7745, allocations: 19.05 kB / 0.7887 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.7746, allocations: 1.125 kB / 0.7887 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.7746, allocations: 0 / 0.7887 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.7746, allocations: 1.844 kB / 0.7887 GB, free: 48.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004301/0.775, allocations: 382.7 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.775, allocations: 0.5938 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.997e-05/0.7751, allocations: 9.578 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.7751, allocations: 1.312 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.7751, allocations: 1.719 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.7751, allocations: 3.844 kB / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7751, allocations: 0 / 0.7891 GB, free: 47.87 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002358/0.7754, allocations: 201.4 kB / 0.7893 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.621e-05/0.7754, allocations: 86.72 kB / 0.7894 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.7754, allocations: 2.469 kB / 0.7894 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.571e-05/0.7755, allocations: 10.2 kB / 0.7894 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.7756, allocations: 7.891 kB / 0.7894 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/0.7756, allocations: 7.344 kB / 0.7894 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.91e-05/0.7756, allocations: 96.75 kB / 0.7895 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7756, allocations: 0 / 0.7895 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002554/0.7759, allocations: 19.39 kB / 0.7895 GB, free: 47.56 MB / 0.6544 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.0001803/0.7761, allocations: 107.4 kB / 0.7896 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002598/0.7763, allocations: 78.2 kB / 0.7897 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.7763, allocations: 0 / 0.7897 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001014/0.7765, allocations: 38.75 kB / 0.7897 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002758/0.7767, allocations: 16.55 kB / 0.7897 GB, free: 47.47 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003329/0.7771, allocations: 159.3 kB / 0.7899 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.7772, allocations: 0.6893 MB / 0.7906 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.368e-05/0.7773, allocations: 8.531 kB / 0.7906 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.043e-05/0.7773, allocations: 12.69 kB / 0.7906 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of SimCode: time 2.1e-07/0.7773, allocations: 0.6875 kB / 0.7906 GB, free: 46.65 MB / 0.6544 GB Notification: Performance of Templates: time 0.003629/0.7809, allocations: 0.9639 MB / 0.7915 GB, free: 46.64 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)