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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.787/1.787, allocations: 292.3 MB / 308.1 MB, free: 4.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001449/0.001449, allocations: 188.5 kB / 376.9 MB, free: 1.805 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.865/1.865, allocations: 205.1 MB / 0.6353 GB, free: 9.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001138/0.001138, allocations: 101 kB / 0.748 GB, free: 61.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 55.92 kB / 0.8704 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3873, allocations: 114.5 MB / 0.9822 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.003186/0.3905, allocations: 0.8207 MB / 0.9831 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002187/0.3928, allocations: 1.071 MB / 0.9841 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.991e-05/0.3929, allocations: 0 / 0.9841 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.781e-05/0.3929, allocations: 3.938 kB / 0.9841 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.3931, allocations: 15.92 kB / 0.9841 GB, free: 8.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004344/0.3935, allocations: 39.91 kB / 0.9842 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.3937, allocations: 71.78 kB / 0.9842 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.3939, allocations: 24.14 kB / 0.9842 GB, free: 8.293 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001348/0.394, allocations: 23.92 kB / 0.9843 GB, free: 8.27 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/0.3941, allocations: 31.84 kB / 0.9843 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.3942, allocations: 4 kB / 0.9843 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.3943, allocations: 23.97 kB / 0.9843 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.164e-05/0.3943, allocations: 11.92 kB / 0.9843 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 6.829e-05/0.3944, allocations: 23.88 kB / 0.9844 GB, free: 8.176 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002144/0.3946, allocations: 80.02 kB / 0.9844 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.3946, allocations: 4 kB / 0.9844 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3946, allocations: 0 / 0.9844 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.693e-06/0.3947, allocations: 0 / 0.9844 GB, free: 8.094 MB / 0.7136 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.0008206/0.3955, allocations: 375.3 kB / 0.9848 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.448e-05/0.3956, allocations: 12.03 kB / 0.9848 GB, free: 7.668 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.03e-05/0.3956, allocations: 8.844 kB / 0.9848 GB, free: 7.66 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001817/0.3958, allocations: 180.2 kB / 0.985 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.774e-05/0.3959, allocations: 384 / 0.985 GB, free: 7.445 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.3959, allocations: 8.375 kB / 0.985 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002753/0.3962, allocations: 70.22 kB / 0.9851 GB, free: 7.363 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.3962, allocations: 3.938 kB / 0.9851 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.3962, allocations: 0 / 0.9851 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.3962, allocations: 7.938 kB / 0.9851 GB, free: 7.352 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000193/0.3964, allocations: 47.89 kB / 0.9851 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008463/0.3973, allocations: 324.7 kB / 0.9854 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002003/0.3975, allocations: 54.58 kB / 0.9855 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.3976, allocations: 32.97 kB / 0.9855 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.3977, allocations: 3.984 kB / 0.9855 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003065/0.398, allocations: 75.39 kB / 0.9856 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.398, allocations: 0 / 0.9856 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0004903/0.3985, allocations: 121.5 kB / 0.9857 GB, free: 6.625 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.671e-05/0.3986, allocations: 67.28 kB / 0.9858 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/0.3987, allocations: 125.8 kB / 0.9859 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.3988, allocations: 25.7 kB / 0.9859 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.416e-05/0.3988, allocations: 100 kB / 0.986 GB, free: 6.281 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.186e-05/0.3989, allocations: 11.84 kB / 0.986 GB, free: 6.27 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.577e-05/0.3989, allocations: 33.7 kB / 0.9861 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3991, allocations: 318.8 kB / 0.9864 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.3992, allocations: 31.97 kB / 0.9864 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001526/0.3994, allocations: 74.42 kB / 0.9865 GB, free: 5.785 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.3997, allocations: 113.8 kB / 0.9866 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.3997, allocations: 0 / 0.9866 GB, free: 5.652 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003779/0.4001, allocations: 133.6 kB / 0.9867 GB, free: 5.516 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.288e-05/0.4001, allocations: 4 kB / 0.9867 GB, free: 5.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/0.4001, allocations: 4 kB / 0.9867 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.4001, allocations: 0 / 0.9867 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.4003, allocations: 19.97 kB / 0.9867 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.522e-05/0.4003, allocations: 7.938 kB / 0.9867 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.482e-05/0.4004, allocations: 11.84 kB / 0.9867 GB, free: 5.469 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.216e-05/0.4004, allocations: 7.984 kB / 0.9867 GB, free: 5.461 MB / 0.7136 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.0001473/0.4006, allocations: 133.8 kB / 0.9869 GB, free: 5.32 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.4006, allocations: 3.906 kB / 0.9869 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.651e-05/0.4007, allocations: 12.38 kB / 0.9869 GB, free: 5.301 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.4007, allocations: 3.984 kB / 0.9869 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/0.4007, allocations: 0 / 0.9869 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.4007, allocations: 0 / 0.9869 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/0.4012, allocations: 378.3 kB / 0.9873 GB, free: 4.871 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4012, allocations: 4 kB / 0.9873 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.368e-05/0.4013, allocations: 7.984 kB / 0.9873 GB, free: 4.859 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.4013, allocations: 4 kB / 0.9873 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.4013, allocations: 0 / 0.9873 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.4013, allocations: 3.938 kB / 0.9873 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.4013, allocations: 0 / 0.9873 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007117/0.4021, allocations: 0.7785 MB / 0.988 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.104e-05/0.4021, allocations: 85.02 kB / 0.9881 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.951e-05/0.4021, allocations: 3.984 kB / 0.9881 GB, free: 3.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.937e-05/0.4022, allocations: 4 kB / 0.9881 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.911e-05/0.4023, allocations: 11.92 kB / 0.9881 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.4023, allocations: 0 / 0.9881 GB, free: 3.895 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.787e-05/0.4024, allocations: 103.4 kB / 0.9882 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.51e-07/0.4024, allocations: 0 / 0.9882 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003685/0.4028, allocations: 16 kB / 0.9882 GB, free: 3.777 MB / 0.7136 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.0002231/0.403, allocations: 99.25 kB / 0.9883 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003153/0.4033, allocations: 91.8 kB / 0.9884 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4033, allocations: 4.438 kB / 0.9884 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001212/0.4035, allocations: 39.91 kB / 0.9885 GB, free: 3.539 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002819/0.4037, allocations: 11.94 kB / 0.9885 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005196/0.4043, allocations: 297 kB / 0.9888 GB, free: 3.199 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.4046, allocations: 0.6887 MB / 0.9894 GB, free: 2.484 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.37e-05/0.4047, allocations: 4 kB / 0.9894 GB, free: 2.48 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.288e-05/0.4047, allocations: 15.42 kB / 0.9895 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of SimCode: time 8.92e-07/0.4047, allocations: 0 / 0.9895 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of Templates: time 0.004087/0.4088, allocations: 0.902 MB / 0.9903 GB, free: 1.57 MB / 0.7136 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)