Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.694/1.694, allocations: 289.7 MB / 302.2 MB, free: 2.168 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.001335/0.001336, allocations: 179.6 kB / 371.6 MB, free: 3.391 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.741/1.741, allocations: 205.1 MB / 0.6309 GB, free: 11.79 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.0009558/0.0009557, allocations: 89.36 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.518e-05/3.526e-05, allocations: 4 kB / 0.8664 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3406, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8977/1.238, allocations: 138.9 MB / 1.116 GB, free: 44.77 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/1.239, allocations: 72.7 kB / 1.116 GB, free: 44.74 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.006283/1.245, allocations: 2.489 MB / 1.118 GB, free: 43.29 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.293e-06/1.245, allocations: 0 / 1.118 GB, free: 43.29 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.863e-06/1.245, allocations: 0 / 1.118 GB, free: 43.29 MB / 0.7448 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.0003877/1.245, allocations: 378 kB / 1.118 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/1.245, allocations: 12.03 kB / 1.118 GB, free: 42.89 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.45e-05/1.246, allocations: 30.56 kB / 1.118 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.169e-05/1.246, allocations: 10.41 kB / 1.118 GB, free: 42.85 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.055e-05/1.246, allocations: 175.4 kB / 1.119 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/1.246, allocations: 3.266 kB / 1.119 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.815e-05/1.246, allocations: 10.84 kB / 1.119 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/1.246, allocations: 55.53 kB / 1.119 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/1.246, allocations: 0.9844 kB / 1.119 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/1.246, allocations: 4.062 kB / 1.119 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/1.246, allocations: 0 / 1.119 GB, free: 42.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.5e-05/1.246, allocations: 23 kB / 1.119 GB, free: 42.57 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/1.246, allocations: 307.2 kB / 1.119 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.181e-05/1.247, allocations: 45.77 kB / 1.119 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.583e-05/1.247, allocations: 24.23 kB / 1.119 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/1.247, allocations: 4 kB / 1.119 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001005/1.247, allocations: 67.8 kB / 1.119 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.432e-06/1.247, allocations: 0 / 1.119 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001757/1.247, allocations: 78.33 kB / 1.119 GB, free: 42.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/1.247, allocations: 62.64 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.626e-05/1.247, allocations: 112 kB / 1.119 GB, free: 41.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.477e-05/1.247, allocations: 29.45 kB / 1.119 GB, free: 41.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.538e-05/1.247, allocations: 91.55 kB / 1.12 GB, free: 41.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/1.247, allocations: 18.38 kB / 1.12 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-06/1.247, allocations: 0.75 kB / 1.12 GB, free: 41.76 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.01e-05/1.247, allocations: 314.7 kB / 1.12 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.795e-05/1.247, allocations: 19.69 kB / 1.12 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.349e-05/1.247, allocations: 64.88 kB / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.98e-05/1.247, allocations: 27.36 kB / 1.12 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/1.247, allocations: 0 / 1.12 GB, free: 41.34 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001479/1.248, allocations: 105.1 kB / 1.12 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/1.248, allocations: 8.719 kB / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.248, allocations: 4.562 kB / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/1.248, allocations: 4.172 kB / 1.12 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/1.248, allocations: 19.55 kB / 1.12 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.685e-06/1.248, allocations: 8 kB / 1.12 GB, free: 41.22 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.865e-05/1.248, allocations: 24 kB / 1.12 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.445e-05/1.248, allocations: 4.703 kB / 1.12 GB, free: 41.2 MB / 0.7448 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 6.767e-05/1.248, allocations: 114.8 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/1.248, allocations: 4 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/1.248, allocations: 12.44 kB / 1.12 GB, free: 41.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/1.248, allocations: 3.938 kB / 1.12 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/1.248, allocations: 4 kB / 1.12 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/1.248, allocations: 0 / 1.12 GB, free: 41.08 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/1.248, allocations: 352.5 kB / 1.121 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/1.248, allocations: 0 / 1.121 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.215e-05/1.248, allocations: 15.03 kB / 1.121 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/1.248, allocations: 0 / 1.121 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.307e-06/1.248, allocations: 1.125 kB / 1.121 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/1.248, allocations: 4.656 kB / 1.121 GB, free: 40.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.248, allocations: 11.38 kB / 1.121 GB, free: 40.7 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/1.249, allocations: 173.4 kB / 1.121 GB, free: 40.54 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/1.249, allocations: 81.11 kB / 1.121 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.683e-05/1.249, allocations: 3.469 kB / 1.121 GB, free: 40.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.403e-05/1.249, allocations: 7.938 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.514e-05/1.249, allocations: 11.42 kB / 1.121 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.283e-06/1.249, allocations: 13.5 kB / 1.121 GB, free: 40.41 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.494e-05/1.249, allocations: 90.81 kB / 1.121 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.249, allocations: 0 / 1.121 GB, free: 40.33 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002455/1.249, allocations: 23.81 kB / 1.121 GB, free: 40.31 MB / 0.7448 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.0003658/1.249, allocations: 0.72 MB / 1.122 GB, free: 39.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001311/1.25, allocations: 63.2 kB / 1.122 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/1.25, allocations: 0 / 1.122 GB, free: 39.55 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.25e-05/1.25, allocations: 19.69 kB / 1.122 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/1.25, allocations: 13.95 kB / 1.122 GB, free: 39.53 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003843/1.25, allocations: 148.7 kB / 1.122 GB, free: 39.37 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001301/1.25, allocations: 0.699 MB / 1.123 GB, free: 38.65 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.419e-05/1.25, allocations: 4 kB / 1.123 GB, free: 38.65 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/1.25, allocations: 23.14 kB / 1.123 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of SimCode: time 3.2e-07/1.25, allocations: 0.8438 kB / 1.123 GB, free: 38.64 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0125/1.263, allocations: 1.816 MB / 1.124 GB, free: 37.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/1.263, allocations: 187.3 kB / 1.125 GB, free: 37.45 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.55/2.813, allocations: 0 / 1.125 GB, free: 37.45 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime_fmu --startTime=1 --stopTime=6 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1)