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.726/1.726, allocations: 292.6 MB / 307.5 MB, free: 5.199 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.001593/0.001592, allocations: 181 kB / 377.1 MB, free: 1.5 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.542/1.542, allocations: 205.4 MB / 0.6366 GB, free: 9.547 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.0008289/0.0008289, allocations: 83.42 kB / 0.7509 GB, free: 62.68 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003512, allocations: 8 kB / 0.8749 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/0.2803, allocations: 116.3 MB / 0.9885 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7295/1.01, allocations: 139 MB / 1.124 GB, free: 35.67 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/1.01, allocations: 77.78 kB / 1.124 GB, free: 35.61 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006568/1.017, allocations: 2.503 MB / 1.127 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.266e-06/1.017, allocations: 0 / 1.127 GB, free: 33.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.265e-05/1.017, allocations: 4 kB / 1.127 GB, free: 33.76 MB / 0.7292 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.0005835/1.017, allocations: 386.5 kB / 1.127 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.556e-05/1.018, allocations: 8.031 kB / 1.127 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.24e-05/1.018, allocations: 34.56 kB / 1.127 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.429e-05/1.018, allocations: 13.97 kB / 1.127 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/1.018, allocations: 163.2 kB / 1.127 GB, free: 33.1 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/1.018, allocations: 4 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.069e-05/1.018, allocations: 6.562 kB / 1.127 GB, free: 33.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002365/1.018, allocations: 80.75 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/1.018, allocations: 0 / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.616e-05/1.018, allocations: 3.938 kB / 1.127 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/1.018, allocations: 5.719 kB / 1.127 GB, free: 33.01 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/1.018, allocations: 54.36 kB / 1.127 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006158/1.019, allocations: 318 kB / 1.128 GB, free: 32.64 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001721/1.019, allocations: 61.52 kB / 1.128 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/1.019, allocations: 4 kB / 1.128 GB, free: 32.57 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002414/1.019, allocations: 74.97 kB / 1.128 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/1.019, allocations: 7.938 kB / 1.128 GB, free: 32.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0004431/1.02, allocations: 152 kB / 1.128 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/1.02, allocations: 51.41 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.949e-05/1.02, allocations: 113.1 kB / 1.128 GB, free: 32.18 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/1.02, allocations: 33.7 kB / 1.128 GB, free: 32.14 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.727e-05/1.02, allocations: 87.56 kB / 1.128 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.932e-05/1.02, allocations: 15.81 kB / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.222e-06/1.02, allocations: 0 / 1.128 GB, free: 32.04 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.682e-05/1.02, allocations: 322.3 kB / 1.129 GB, free: 31.72 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001066/1.02, allocations: 34.89 kB / 1.129 GB, free: 31.69 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001226/1.021, allocations: 85.53 kB / 1.129 GB, free: 31.59 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/1.021, allocations: 43.36 kB / 1.129 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.021, allocations: 0 / 1.129 GB, free: 31.56 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002796/1.021, allocations: 143.2 kB / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.021, allocations: 4 kB / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.021, allocations: 0 / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/1.021, allocations: 4 kB / 1.129 GB, free: 31.42 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001352/1.021, allocations: 31.58 kB / 1.129 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/1.021, allocations: 0 / 1.129 GB, free: 31.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.084e-05/1.021, allocations: 16.62 kB / 1.129 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/1.021, allocations: 12.44 kB / 1.129 GB, free: 31.38 MB / 0.7292 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 9.125e-05/1.021, allocations: 126.8 kB / 1.129 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/1.021, allocations: 3.906 kB / 1.129 GB, free: 31.24 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/1.021, allocations: 12.94 kB / 1.129 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/1.021, allocations: 4.078 kB / 1.129 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/1.021, allocations: 0 / 1.129 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/1.021, allocations: 0 / 1.129 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004217/1.022, allocations: 385.5 kB / 1.129 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/1.022, allocations: 0 / 1.129 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.798e-05/1.022, allocations: 16.77 kB / 1.129 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/1.022, allocations: 8 kB / 1.129 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/1.022, allocations: 0 / 1.129 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/1.022, allocations: 0.625 kB / 1.129 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.022, allocations: 6.844 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/1.022, allocations: 214.1 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.317e-05/1.022, allocations: 77.11 kB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/1.022, allocations: 3.469 kB / 1.13 GB, free: 30.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/1.022, allocations: 12 kB / 1.13 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/1.023, allocations: 8.453 kB / 1.13 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/1.023, allocations: 3.953 kB / 1.13 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.225e-05/1.023, allocations: 91.53 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/1.023, allocations: 4 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002484/1.023, allocations: 24 kB / 1.13 GB, free: 30.37 MB / 0.7292 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.00056/1.023, allocations: 0.7578 MB / 1.131 GB, free: 29.6 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002727/1.024, allocations: 97.91 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.024, allocations: 4.375 kB / 1.131 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001078/1.024, allocations: 39.41 kB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/1.024, allocations: 12.22 kB / 1.131 GB, free: 29.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000731/1.025, allocations: 1.3 MB / 1.132 GB, free: 28.12 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001399/1.025, allocations: 0.6916 MB / 1.133 GB, free: 27.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.599e-05/1.025, allocations: 8 kB / 1.133 GB, free: 27.4 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.27e-05/1.025, allocations: 26.94 kB / 1.133 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/1.025, allocations: 0.75 kB / 1.133 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01296/1.038, allocations: 1.781 MB / 1.135 GB, free: 26.46 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001678/1.038, allocations: 216.6 kB / 1.135 GB, free: 26.22 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.713/2.751, allocations: 0.9375 kB / 1.135 GB, free: 26.22 MB / 0.7292 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)