Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.0.0_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_3.0.0_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.001501/0.001501, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00202/0.00202, allocations: 193.4 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.655/1.655, allocations: 222.9 MB / 239.9 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.912/2.912, allocations: 472.6 MB / 0.7448 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 60.67 kB / 0.9116 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3919, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002364/0.3944, allocations: 0.8113 MB / 1.069 GB, free: 10 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.3958, allocations: 1.073 MB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.711e-05/0.3959, allocations: 4 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.582e-05/0.3959, allocations: 3.938 kB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.293e-05/0.396, allocations: 7.922 kB / 1.07 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.3964, allocations: 51.14 kB / 1.07 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001152/0.3965, allocations: 67.84 kB / 1.07 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.3966, allocations: 28.09 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.278e-05/0.3967, allocations: 23.92 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.124e-05/0.3968, allocations: 43.83 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.3968, allocations: 7.938 kB / 1.07 GB, free: 8.68 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.217e-05/0.3969, allocations: 15.98 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.616e-05/0.3969, allocations: 12 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.682e-05/0.397, allocations: 35.73 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001572/0.3972, allocations: 71.81 kB / 1.07 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/0.3972, allocations: 7.984 kB / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3972, allocations: 0 / 1.07 GB, free: 8.539 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.583e-06/0.3972, allocations: 0 / 1.07 GB, free: 8.539 MB / 0.8262 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.0006081/0.3978, allocations: 385.6 kB / 1.07 GB, free: 8.117 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.691e-05/0.3979, allocations: 12.03 kB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.642e-05/0.3979, allocations: 12.78 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.3981, allocations: 180.2 kB / 1.07 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.619e-05/0.3981, allocations: 4.375 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.3981, allocations: 4.375 kB / 1.07 GB, free: 7.871 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000208/0.3983, allocations: 70.17 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3983, allocations: 7.938 kB / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3984, allocations: 0 / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3984, allocations: 0 / 1.071 GB, free: 7.789 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000179/0.3986, allocations: 47.95 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006898/0.3993, allocations: 324.7 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.3994, allocations: 54.55 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.876e-05/0.3995, allocations: 28.97 kB / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.36e-05/0.3996, allocations: 0 / 1.071 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002235/0.3998, allocations: 87.31 kB / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.362e-06/0.3998, allocations: 0 / 1.071 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000457/0.4003, allocations: 125.6 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.184e-05/0.4003, allocations: 55.41 kB / 1.071 GB, free: 6.988 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.4005, allocations: 125.7 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.4005, allocations: 29.7 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.822e-05/0.4006, allocations: 84.14 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.4006, allocations: 27.73 kB / 1.072 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/0.4007, allocations: 25.72 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4008, allocations: 322.8 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.4009, allocations: 31.97 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000152/0.4011, allocations: 81.86 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002327/0.4013, allocations: 105.9 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.4013, allocations: 4 kB / 1.072 GB, free: 6.09 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003169/0.4017, allocations: 129.4 kB / 1.072 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.4017, allocations: 4 kB / 1.072 GB, free: 5.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4017, allocations: 4.156 kB / 1.072 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.4017, allocations: 8 kB / 1.072 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.4019, allocations: 19.98 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.4019, allocations: 4 kB / 1.072 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.225e-05/0.402, allocations: 7.984 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.414e-05/0.402, allocations: 4 kB / 1.072 GB, free: 5.906 MB / 0.8262 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.0001122/0.4021, allocations: 132.7 kB / 1.072 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.4021, allocations: 7.891 kB / 1.072 GB, free: 5.762 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.059e-05/0.4022, allocations: 12.38 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.4022, allocations: 0 / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.4022, allocations: 0 / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4022, allocations: 0 / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004868/0.4027, allocations: 382.3 kB / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.4027, allocations: 0 / 1.073 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.382e-05/0.4027, allocations: 7.984 kB / 1.073 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.4028, allocations: 4 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.4028, allocations: 4 kB / 1.073 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.4028, allocations: 3.938 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4028, allocations: 0 / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.4031, allocations: 195.5 kB / 1.073 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.589e-05/0.4031, allocations: 88.95 kB / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.617e-05/0.4032, allocations: 0 / 1.073 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.018e-05/0.4033, allocations: 23.91 kB / 1.073 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.4033, allocations: 11.94 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.4033, allocations: 0 / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.881e-05/0.4034, allocations: 91.92 kB / 1.073 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.426e-06/0.4034, allocations: 4 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002598/0.4037, allocations: 19.94 kB / 1.073 GB, free: 4.84 MB / 0.8262 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.000207/0.4039, allocations: 103.6 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002867/0.4042, allocations: 79.89 kB / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4042, allocations: 0 / 1.073 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001178/0.4043, allocations: 39.91 kB / 1.073 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002734/0.4046, allocations: 8.609 kB / 1.073 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004171/0.405, allocations: 178.5 kB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.4053, allocations: 0.6885 MB / 1.074 GB, free: 3.688 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.986e-05/0.4054, allocations: 11.77 kB / 1.074 GB, free: 3.676 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.311e-05/0.4054, allocations: 11.44 kB / 1.074 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.4054, allocations: 4 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of Templates: time 0.003813/0.4092, allocations: 0.9136 MB / 1.075 GB, free: 2.785 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)