Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.368/2.368, allocations: 284.9 MB / 292.4 MB, free: 10.59 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.00143/0.001429, allocations: 180.9 kB / 360.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205.2 MB / 0.6191 GB, free: 12.22 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.001084/0.001084, allocations: 91.44 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.302e-05/3.309e-05, allocations: 4 kB / 0.8509 GB, free: 3.332 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8009/0.8009, allocations: 115.3 MB / 0.9634 GB, free: 78.54 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2325/1.034, allocations: 137.1 MB / 1.097 GB, free: 3.473 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/1.034, allocations: 76.55 kB / 1.097 GB, free: 3.398 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01134/1.045, allocations: 2.479 MB / 1.1 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.423e-06/1.045, allocations: 0.6562 kB / 1.1 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.979e-06/1.045, allocations: 4.719 kB / 1.1 GB, free: 0.9648 MB / 0.698 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.0006098/1.046, allocations: 371.6 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/1.046, allocations: 12.81 kB / 1.1 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/1.046, allocations: 5.109 kB / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/1.046, allocations: 176.9 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/1.046, allocations: 4 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.406e-05/1.046, allocations: 4.594 kB / 1.1 GB, free: 332 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000106/1.046, allocations: 18.94 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/1.047, allocations: 45.69 kB / 1.1 GB, free: 264 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/1.047, allocations: 4 kB / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/1.047, allocations: 0.8125 kB / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/1.047, allocations: 3.938 kB / 1.1 GB, free: 256 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007544/1.047, allocations: 291.6 kB / 1.101 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/1.048, allocations: 44.45 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.088e-05/1.048, allocations: 16.98 kB / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/1.048, allocations: 0 / 1.101 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001592/1.048, allocations: 71.88 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.884e-06/1.048, allocations: 0 / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0002379/1.048, allocations: 70.22 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/1.048, allocations: 60.97 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/1.048, allocations: 106.3 kB / 1.101 GB, free: 15.53 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/1.048, allocations: 25.7 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.028e-05/1.048, allocations: 96.53 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/1.048, allocations: 22.58 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/1.048, allocations: 1.781 kB / 1.101 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.049, allocations: 326.8 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.619e-05/1.049, allocations: 12 kB / 1.102 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.734e-05/1.049, allocations: 58.67 kB / 1.102 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004021/1.049, allocations: 46.58 kB / 1.102 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.049, allocations: 3.25 kB / 1.102 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005389/1.05, allocations: 113.5 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/1.05, allocations: 8 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/1.05, allocations: 0 / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.303e-05/1.05, allocations: 7.094 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/1.05, allocations: 23.97 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/1.05, allocations: 0 / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001539/1.05, allocations: 22.83 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.279e-05/1.05, allocations: 11.92 kB / 1.102 GB, free: 14.73 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 0.0001044/1.05, allocations: 116.9 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001629/1.051, allocations: 69.69 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.569e-05/1.051, allocations: 7.906 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.594e-05/1.051, allocations: 12.62 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/1.051, allocations: 0 / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.051, allocations: 2.719 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/1.051, allocations: 7.891 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/1.051, allocations: 315 kB / 1.102 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/1.051, allocations: 8 kB / 1.102 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/1.051, allocations: 11.98 kB / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/1.051, allocations: 0 / 1.102 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.239e-05/1.051, allocations: 4 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/1.051, allocations: 3.953 kB / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.051, allocations: 0 / 1.102 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002169/1.052, allocations: 175.4 kB / 1.103 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.336e-05/1.052, allocations: 81.11 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/1.052, allocations: 4 kB / 1.103 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000175/1.052, allocations: 7.984 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.037e-05/1.052, allocations: 7.953 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/1.052, allocations: 3.984 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.556e-05/1.052, allocations: 92.7 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.61e-07/1.052, allocations: 0 / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003783/1.052, allocations: 23.94 kB / 1.103 GB, free: 13.71 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.0006113/1.053, allocations: 0.723 MB / 1.103 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000186/1.053, allocations: 43.92 kB / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/1.053, allocations: 0 / 1.103 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.296e-05/1.053, allocations: 24 kB / 1.103 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/1.054, allocations: 16.39 kB / 1.103 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005542/1.054, allocations: 136.5 kB / 1.104 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003011/1.055, allocations: 0.6936 MB / 1.104 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.789e-05/1.055, allocations: 8.734 kB / 1.104 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.871e-05/1.055, allocations: 24.56 kB / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of SimCode: time 7.42e-07/1.055, allocations: 0 / 1.104 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03744/1.092, allocations: 1.457 MB / 1.106 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003344/1.093, allocations: 180.2 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.224/3.316, allocations: 0 / 1.106 GB, free: 10.37 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)