Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 102.9 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.001041/0.001041, 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.772/1.772, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.995/1.995, allocations: 292.3 MB / 0.5495 GB, free: 17.47 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.001363/0.001363, allocations: 67.91 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3075/0.3088, allocations: 114.6 MB / 0.7841 GB, free: 3.883 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002505/0.3114, allocations: 0.7509 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002003/0.3134, allocations: 1.074 MB / 0.7859 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.948e-05/0.3135, allocations: 0 / 0.7859 GB, free: 2.039 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.24e-05/0.3136, allocations: 3.938 kB / 0.7859 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001088/0.3137, allocations: 15.86 kB / 0.7859 GB, free: 2.02 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003979/0.3141, allocations: 47.83 kB / 0.786 GB, free: 1.973 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.3143, allocations: 79.77 kB / 0.786 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001728/0.3145, allocations: 20.17 kB / 0.7861 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.3146, allocations: 27.92 kB / 0.7861 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 9.445e-05/0.3147, allocations: 35.83 kB / 0.7861 GB, free: 1.809 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.606e-05/0.3147, allocations: 8 kB / 0.7861 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.672e-05/0.3148, allocations: 23.92 kB / 0.7861 GB, free: 1.777 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.105e-05/0.3149, allocations: 15.92 kB / 0.7862 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.156e-05/0.3149, allocations: 23.88 kB / 0.7862 GB, free: 1.738 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001883/0.3151, allocations: 80.02 kB / 0.7863 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 7.063e-06/0.3151, allocations: 0 / 0.7863 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3151, allocations: 0 / 0.7863 GB, free: 1.66 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.3152, allocations: 0 / 0.7863 GB, free: 1.66 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.0007226/0.3159, allocations: 383.2 kB / 0.7866 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.3159, allocations: 8.031 kB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.316, allocations: 8.844 kB / 0.7866 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.3162, allocations: 184.1 kB / 0.7868 GB, free: 1.004 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.322e-05/0.3162, allocations: 8.312 kB / 0.7868 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.525e-05/0.3163, allocations: 4.375 kB / 0.7868 GB, free: 0.9922 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.3165, allocations: 66.22 kB / 0.7869 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.3165, allocations: 11.92 kB / 0.7869 GB, free: 0.9102 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.985e-05/0.3166, allocations: 8 kB / 0.7869 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.3166, allocations: 0 / 0.7869 GB, free: 0.9023 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001689/0.3168, allocations: 39.97 kB / 0.7869 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000763/0.3175, allocations: 316.7 kB / 0.7872 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.3177, allocations: 62.48 kB / 0.7873 GB, free: 444 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.724e-05/0.3178, allocations: 28.97 kB / 0.7873 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.399e-05/0.3179, allocations: 0 / 0.7873 GB, free: 412 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003271/0.3182, allocations: 87.31 kB / 0.7874 GB, free: 312 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=7): time 4.799e-06/0.3182, allocations: 4 kB / 0.7874 GB, free: 308 kB / 0.6544 GB Notification: Performance of matching and sorting (n=7): time 0.000511/0.3187, allocations: 129.6 kB / 0.7875 GB, free: 172 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.837e-05/0.3188, allocations: 51.41 kB / 0.7876 GB, free: 108 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.4976/0.8164, allocations: 122.8 kB / 0.7877 GB, free: 48.93 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.01e-05/0.8166, allocations: 28.89 kB / 0.7877 GB, free: 48.9 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.597e-05/0.8167, allocations: 91.03 kB / 0.7878 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.816e-05/0.8168, allocations: 21 kB / 0.7878 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.207e-05/0.8169, allocations: 26.11 kB / 0.7879 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.448e-05/0.817, allocations: 323.8 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.8171, allocations: 33.91 kB / 0.7882 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.8173, allocations: 73.81 kB / 0.7883 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002463/0.8175, allocations: 109.4 kB / 0.7884 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.8176, allocations: 2.844 kB / 0.7884 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003575/0.8179, allocations: 126.8 kB / 0.7885 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.652e-05/0.818, allocations: 5.75 kB / 0.7885 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.818, allocations: 3.969 kB / 0.7885 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.522e-05/0.818, allocations: 0 / 0.7885 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.8182, allocations: 24.19 kB / 0.7885 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.402e-05/0.8182, allocations: 11.91 kB / 0.7886 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.72e-05/0.8183, allocations: 6.469 kB / 0.7886 GB, free: 48.35 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.8183, allocations: 9.469 kB / 0.7886 GB, free: 48.35 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 0.0001154/0.8185, allocations: 126.5 kB / 0.7887 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.8185, allocations: 9.906 kB / 0.7887 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.8185, allocations: 12.91 kB / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.8185, allocations: 2.969 kB / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.8185, allocations: 3 kB / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.8186, allocations: 0 / 0.7887 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004492/0.819, allocations: 373.9 kB / 0.7891 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.819, allocations: 0.5938 kB / 0.7891 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.738e-05/0.8191, allocations: 8.875 kB / 0.7891 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.8191, allocations: 5.531 kB / 0.7891 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.8191, allocations: 0.5 kB / 0.7891 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.8191, allocations: 3.188 kB / 0.7891 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.8191, allocations: 0.9688 kB / 0.7891 GB, free: 47.94 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002713/0.8194, allocations: 205.8 kB / 0.7893 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.486e-05/0.8194, allocations: 81.02 kB / 0.7894 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.023e-05/0.8195, allocations: 3.375 kB / 0.7894 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.22e-05/0.8196, allocations: 7.938 kB / 0.7894 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.818e-05/0.8196, allocations: 11.77 kB / 0.7894 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.8196, allocations: 0 / 0.7894 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.569e-05/0.8197, allocations: 97.59 kB / 0.7895 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8197, allocations: 0 / 0.7895 GB, free: 47.63 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002871/0.82, allocations: 16.53 kB / 0.7895 GB, free: 47.63 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.0001891/0.8202, allocations: 111.8 kB / 0.7896 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002744/0.8205, allocations: 74.97 kB / 0.7897 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.8205, allocations: 1.656 kB / 0.7897 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001043/0.8206, allocations: 40.48 kB / 0.7897 GB, free: 47.55 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.8209, allocations: 17.61 kB / 0.7897 GB, free: 47.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003792/0.8213, allocations: 157 kB / 0.7899 GB, free: 47.43 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.8215, allocations: 0.6913 MB / 0.7906 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.587e-05/0.8215, allocations: 5.422 kB / 0.7906 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.8216, allocations: 12.69 kB / 0.7906 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.8216, allocations: 0 / 0.7906 GB, free: 46.73 MB / 0.6544 GB Notification: Performance of Templates: time 0.003677/0.8252, allocations: 0.9717 MB / 0.7915 GB, free: 46.71 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)