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.823/2.823, allocations: 287.3 MB / 302.3 MB, free: 8.234 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.001471/0.001471, allocations: 188.9 kB / 370.8 MB, free: 10.85 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.172/2.172, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001174/0.001174, allocations: 106.7 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006872/0.0006872, allocations: 21.19 kB / 0.8658 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2429/0.2436, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.963/1.207, allocations: 137.8 MB / 1.113 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003481/1.207, allocations: 78.95 kB / 1.113 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01521/1.222, allocations: 2.51 MB / 1.115 GB, free: 31 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.306e-06/1.222, allocations: 0 / 1.115 GB, free: 31 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.1e-05/1.222, allocations: 3.844 kB / 1.115 GB, free: 31 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.0008131/1.223, allocations: 376.8 kB / 1.116 GB, free: 30.62 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.65e-05/1.223, allocations: 13.08 kB / 1.116 GB, free: 30.62 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.595e-05/1.223, allocations: 39.47 kB / 1.116 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/1.223, allocations: 11.75 kB / 1.116 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001634/1.224, allocations: 173.5 kB / 1.116 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/1.224, allocations: 5.281 kB / 1.116 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.037e-05/1.224, allocations: 3.812 kB / 1.116 GB, free: 30.37 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003731/1.224, allocations: 72.78 kB / 1.116 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/1.224, allocations: 0 / 1.116 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/1.224, allocations: 4.844 kB / 1.116 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/1.224, allocations: 5.312 kB / 1.116 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003893/1.225, allocations: 55.5 kB / 1.116 GB, free: 30.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009611/1.226, allocations: 320.6 kB / 1.116 GB, free: 30.05 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000295/1.226, allocations: 61.83 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.361e-05/1.226, allocations: 3.875 kB / 1.117 GB, free: 30.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003541/1.226, allocations: 81.12 kB / 1.117 GB, free: 29.97 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 4.148e-06/1.226, allocations: 0 / 1.117 GB, free: 29.97 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0007904/1.227, allocations: 145.4 kB / 1.117 GB, free: 29.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.923e-05/1.227, allocations: 59.3 kB / 1.117 GB, free: 29.86 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/1.227, allocations: 109.9 kB / 1.117 GB, free: 29.77 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/1.227, allocations: 33.42 kB / 1.117 GB, free: 29.74 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.657e-05/1.228, allocations: 90.31 kB / 1.117 GB, free: 29.66 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/1.228, allocations: 15.44 kB / 1.117 GB, free: 29.65 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.293e-05/1.228, allocations: 0 / 1.117 GB, free: 29.65 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001995/1.228, allocations: 325 kB / 1.117 GB, free: 29.33 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/1.228, allocations: 32.64 kB / 1.117 GB, free: 29.33 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/1.228, allocations: 78.86 kB / 1.117 GB, free: 29.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002326/1.229, allocations: 40.62 kB / 1.117 GB, free: 29.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/1.229, allocations: 0 / 1.117 GB, free: 29.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006591/1.229, allocations: 146.8 kB / 1.118 GB, free: 29.22 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/1.229, allocations: 3.906 kB / 1.118 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/1.229, allocations: 8.031 kB / 1.118 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/1.229, allocations: 2.859 kB / 1.118 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/1.23, allocations: 17.92 kB / 1.118 GB, free: 29.22 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/1.23, allocations: 10.64 kB / 1.118 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/1.23, allocations: 11.77 kB / 1.118 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.863e-05/1.23, allocations: 6.641 kB / 1.118 GB, free: 29.21 MB / 0.698 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001874/1.23, allocations: 127.3 kB / 1.118 GB, free: 29.09 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.049e-05/1.23, allocations: 11.78 kB / 1.118 GB, free: 29.08 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.381e-05/1.23, allocations: 16.06 kB / 1.118 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/1.23, allocations: 0 / 1.118 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/1.23, allocations: 2.719 kB / 1.118 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/1.23, allocations: 0 / 1.118 GB, free: 29.07 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009381/1.231, allocations: 388.6 kB / 1.118 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/1.231, allocations: 0 / 1.118 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/1.232, allocations: 12.05 kB / 1.118 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.043e-06/1.232, allocations: 0 / 1.118 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/1.232, allocations: 3.875 kB / 1.118 GB, free: 28.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.695e-06/1.232, allocations: 6.719 kB / 1.118 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/1.232, allocations: 3.844 kB / 1.118 GB, free: 28.76 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006126/1.232, allocations: 213.4 kB / 1.118 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.463e-05/1.232, allocations: 79.64 kB / 1.119 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/1.232, allocations: 4.375 kB / 1.119 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/1.233, allocations: 14.3 kB / 1.119 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.962e-05/1.233, allocations: 10.38 kB / 1.119 GB, free: 28.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.656e-05/1.233, allocations: 4 kB / 1.119 GB, free: 28.51 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001085/1.233, allocations: 93.66 kB / 1.119 GB, free: 28.44 MB / 0.698 GB Notification: Performance of sort global known variables: time 5.31e-07/1.233, allocations: 0 / 1.119 GB, free: 28.44 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000601/1.233, allocations: 24.64 kB / 1.119 GB, free: 28.43 MB / 0.698 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 (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.001212/1.235, allocations: 0.7671 MB / 1.119 GB, free: 27.76 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005661/1.235, allocations: 92.5 kB / 1.12 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.235, allocations: 0 / 1.12 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/1.236, allocations: 32.98 kB / 1.12 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000385/1.236, allocations: 23.48 kB / 1.12 GB, free: 27.74 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/1.238, allocations: 1.301 MB / 1.121 GB, free: 26.45 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004099/1.238, allocations: 0.6896 MB / 1.122 GB, free: 25.75 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 9.216e-05/1.238, allocations: 3.906 kB / 1.122 GB, free: 25.75 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.898e-05/1.238, allocations: 22.22 kB / 1.122 GB, free: 25.75 MB / 0.698 GB Notification: Performance of SimCode: time 1.012e-06/1.238, allocations: 0 / 1.122 GB, free: 25.75 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02385/1.262, allocations: 1.794 MB / 1.123 GB, free: 25.58 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002636/1.263, allocations: 213.3 kB / 1.123 GB, free: 25.35 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.359/3.622, allocations: 0 / 1.123 GB, free: 25.35 MB / 0.698 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)