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.SampleTriggerPositiveStartTime.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.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",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.465/2.465, allocations: 284.9 MB / 292.4 MB, free: 10.56 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.001387/0.001387, allocations: 184.9 kB / 360.6 MB, free: 7.277 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.076/2.076, allocations: 205.3 MB / 0.6191 GB, free: 12.16 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.001103/0.001103, allocations: 98.42 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.503e-05/2.511e-05, allocations: 4 kB / 0.8509 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8025/0.8026, allocations: 115.3 MB / 0.9634 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2297/1.032, allocations: 137.1 MB / 1.097 GB, free: 3.348 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002738/1.033, allocations: 73.12 kB / 1.097 GB, free: 3.277 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01124/1.044, allocations: 2.486 MB / 1.1 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.362e-06/1.044, allocations: 4 kB / 1.1 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.815e-06/1.044, allocations: 1.156 kB / 1.1 GB, free: 0.8359 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.0006106/1.045, allocations: 367.5 kB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/1.045, allocations: 8.031 kB / 1.1 GB, free: 436 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.611e-05/1.045, allocations: 10.58 kB / 1.1 GB, free: 428 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/1.045, allocations: 171.9 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.81e-05/1.045, allocations: 0 / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/1.045, allocations: 4 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001107/1.045, allocations: 24.5 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/1.045, allocations: 54.27 kB / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/1.045, allocations: 2.25 kB / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.215e-05/1.045, allocations: 0 / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/1.045, allocations: 0.7812 kB / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007683/1.046, allocations: 299.2 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001167/1.046, allocations: 35.17 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.997e-05/1.046, allocations: 18.48 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/1.046, allocations: 0 / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001482/1.047, allocations: 68.48 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/1.047, allocations: 0 / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.000257/1.047, allocations: 82.88 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/1.047, allocations: 51.41 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000112/1.047, allocations: 112.8 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/1.047, allocations: 25.7 kB / 1.101 GB, free: 15.37 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.733e-05/1.047, allocations: 95.45 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/1.047, allocations: 23.73 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.797e-06/1.047, allocations: 0 / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001223/1.047, allocations: 318.8 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.922e-05/1.047, allocations: 16 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.817e-05/1.047, allocations: 66.06 kB / 1.102 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004063/1.048, allocations: 36.62 kB / 1.102 GB, free: 14.8 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/1.048, allocations: 4 kB / 1.102 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005838/1.048, allocations: 117.5 kB / 1.102 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/1.049, allocations: 8.766 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.729e-06/1.049, allocations: 4 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/1.049, allocations: 3.5 kB / 1.102 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/1.049, allocations: 28.14 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/1.049, allocations: 4 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/1.049, allocations: 15.89 kB / 1.102 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/1.049, allocations: 4 kB / 1.102 GB, free: 14.61 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.0001158/1.049, allocations: 119.5 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001803/1.049, allocations: 72.42 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.841e-05/1.049, allocations: 7.906 kB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.52e-05/1.049, allocations: 8.625 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/1.049, allocations: 4 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.194e-06/1.049, allocations: 0 / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/1.049, allocations: 18.5 kB / 1.102 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004412/1.05, allocations: 319 kB / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.05, allocations: 0 / 1.102 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/1.05, allocations: 8 kB / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/1.05, allocations: 0 / 1.102 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.353e-05/1.05, allocations: 7.984 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/1.05, allocations: 7.953 kB / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.05, allocations: 0 / 1.102 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/1.05, allocations: 163.5 kB / 1.102 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.876e-05/1.05, allocations: 81.11 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/1.05, allocations: 0 / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/1.051, allocations: 11.98 kB / 1.103 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/1.051, allocations: 19.88 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.173e-05/1.051, allocations: 4 kB / 1.103 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.174e-05/1.051, allocations: 87.28 kB / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.051, allocations: 0 / 1.103 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003909/1.051, allocations: 23.94 kB / 1.103 GB, free: 13.58 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.0006029/1.052, allocations: 0.7124 MB / 1.103 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002069/1.052, allocations: 51.92 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.052, allocations: 0 / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.09e-05/1.052, allocations: 19.94 kB / 1.103 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003148/1.052, allocations: 19.94 kB / 1.103 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005633/1.053, allocations: 136.9 kB / 1.104 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/1.053, allocations: 0.6976 MB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.053e-05/1.053, allocations: 10.92 kB / 1.104 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.553e-05/1.054, allocations: 19.44 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of SimCode: time 9.52e-07/1.054, allocations: 0 / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04083/1.094, allocations: 1.452 MB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003548/1.095, allocations: 176.5 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.343/3.437, allocations: 1.125 kB / 1.106 GB, free: 10.25 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime_fmu --startTime=1 --stopTime=6 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)