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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.831/1.831, allocations: 289.9 MB / 297.4 MB, free: 6.332 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.00131/0.00131, allocations: 180.8 kB / 366.7 MB, free: 1.641 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.791/1.791, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.001265/0.001266, allocations: 92.14 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.203e-05/3.218e-05, allocations: 4 kB / 0.8598 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6834/0.6835, allocations: 116.3 MB / 0.9734 GB, free: 76.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1886/0.8722, allocations: 138.2 MB / 1.108 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.8725, allocations: 72.61 kB / 1.108 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.007224/0.8798, allocations: 2.478 MB / 1.111 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8798, allocations: 0 / 1.111 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.8798, allocations: 0 / 1.111 GB, free: 9.34 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.0004765/0.8803, allocations: 368.2 kB / 1.111 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.8804, allocations: 9.094 kB / 1.111 GB, free: 8.93 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.391e-05/0.8804, allocations: 9.312 kB / 1.111 GB, free: 8.922 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.8806, allocations: 179.2 kB / 1.111 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.8806, allocations: 5.062 kB / 1.111 GB, free: 8.707 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.8806, allocations: 4 kB / 1.111 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.752e-05/0.8807, allocations: 16 kB / 1.111 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001044/0.8809, allocations: 50.53 kB / 1.111 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.8809, allocations: 0 / 1.111 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.8809, allocations: 4.625 kB / 1.111 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.8809, allocations: 1.312 kB / 1.111 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.8815, allocations: 286.8 kB / 1.112 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.021e-05/0.8816, allocations: 52.41 kB / 1.112 GB, free: 8.254 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.944e-05/0.8816, allocations: 22.86 kB / 1.112 GB, free: 8.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.8817, allocations: 3.984 kB / 1.112 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001293/0.8818, allocations: 56.88 kB / 1.112 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/0.8818, allocations: 0 / 1.112 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002019/0.882, allocations: 75.7 kB / 1.112 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.298e-05/0.8821, allocations: 53.25 kB / 1.112 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.8822, allocations: 115.5 kB / 1.112 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.8823, allocations: 29.7 kB / 1.112 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.8823, allocations: 93.19 kB / 1.112 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.473e-05/0.8824, allocations: 23.73 kB / 1.112 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-06/0.8824, allocations: 0 / 1.112 GB, free: 7.75 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.8825, allocations: 328.1 kB / 1.113 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.97e-05/0.8826, allocations: 12 kB / 1.113 GB, free: 7.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.174e-05/0.8826, allocations: 56.7 kB / 1.113 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003339/0.883, allocations: 45.95 kB / 1.113 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.883, allocations: 0 / 1.113 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003713/0.8834, allocations: 116.7 kB / 1.113 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.8834, allocations: 9.094 kB / 1.113 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.8834, allocations: 0 / 1.113 GB, free: 7.168 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.8834, allocations: 4 kB / 1.113 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.8836, allocations: 30.58 kB / 1.113 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.8836, allocations: 0 / 1.113 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.505e-05/0.8837, allocations: 17.39 kB / 1.113 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.8837, allocations: 8 kB / 1.113 GB, free: 7.113 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 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.667e-05/0.8838, allocations: 108.9 kB / 1.113 GB, free: 7 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001289/0.884, allocations: 73.62 kB / 1.113 GB, free: 6.922 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.512e-05/0.884, allocations: 11.89 kB / 1.113 GB, free: 6.91 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.884, allocations: 12.56 kB / 1.113 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-06/0.884, allocations: 4 kB / 1.113 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8841, allocations: 0 / 1.113 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.8841, allocations: 0 / 1.113 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003367/0.8844, allocations: 322.9 kB / 1.113 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.8844, allocations: 0 / 1.113 GB, free: 6.535 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.584e-05/0.8845, allocations: 11.98 kB / 1.113 GB, free: 6.523 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.8845, allocations: 4 kB / 1.113 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.8845, allocations: 6.625 kB / 1.113 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.8845, allocations: 0 / 1.113 GB, free: 6.516 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8845, allocations: 3.953 kB / 1.113 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.8847, allocations: 178.2 kB / 1.114 GB, free: 6.324 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/0.8848, allocations: 77.11 kB / 1.114 GB, free: 6.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.8848, allocations: 4 kB / 1.114 GB, free: 6.227 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.796e-05/0.8849, allocations: 7.984 kB / 1.114 GB, free: 6.219 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.818e-05/0.885, allocations: 8 kB / 1.114 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.295e-06/0.885, allocations: 3.953 kB / 1.114 GB, free: 6.207 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.273e-05/0.8851, allocations: 92.91 kB / 1.114 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.224e-06/0.8851, allocations: 0 / 1.114 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002713/0.8853, allocations: 32.62 kB / 1.114 GB, free: 6.086 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005678/0.8859, allocations: 0.7163 MB / 1.114 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000158/0.8861, allocations: 47.92 kB / 1.115 GB, free: 5.297 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.8861, allocations: 4 kB / 1.115 GB, free: 5.293 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.787e-05/0.8862, allocations: 23.94 kB / 1.115 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.8864, allocations: 7.281 kB / 1.115 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.8868, allocations: 139.4 kB / 1.115 GB, free: 5.094 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.8871, allocations: 0.6924 MB / 1.115 GB, free: 4.375 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.695e-05/0.8872, allocations: 4 kB / 1.115 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.216e-05/0.8872, allocations: 24.41 kB / 1.115 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/0.8872, allocations: 0 / 1.115 GB, free: 4.348 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02072/0.9079, allocations: 1.456 MB / 1.117 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000262/0.9083, allocations: 182 kB / 1.117 GB, free: 2.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.663, allocations: 4 kB / 1.117 GB, free: 2.746 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)