Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.775/1.775, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001164/0.001164, allocations: 186.5 kB / 377.1 MB, free: 1.516 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.487/1.487, allocations: 205.4 MB / 0.6366 GB, free: 9.527 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.0008985/0.0008985, allocations: 93.3 kB / 0.7509 GB, free: 62.62 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004451/0.000445, allocations: 11.98 kB / 0.8749 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2745, allocations: 116.3 MB / 0.9885 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7514/1.026, allocations: 139 MB / 1.124 GB, free: 35.5 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002005/1.026, allocations: 74.91 kB / 1.124 GB, free: 35.44 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.006093/1.032, allocations: 2.505 MB / 1.127 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.723e-06/1.032, allocations: 0 / 1.127 GB, free: 33.59 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.873e-06/1.032, allocations: 3.844 kB / 1.127 GB, free: 33.59 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.0004873/1.033, allocations: 382.2 kB / 1.127 GB, free: 33.19 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/1.033, allocations: 12.03 kB / 1.127 GB, free: 33.18 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.482e-05/1.033, allocations: 31.25 kB / 1.127 GB, free: 33.14 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.319e-05/1.033, allocations: 9.969 kB / 1.127 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.015e-05/1.033, allocations: 167.2 kB / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/1.033, allocations: 4 kB / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.55e-05/1.033, allocations: 14.83 kB / 1.127 GB, free: 32.91 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002024/1.033, allocations: 68.72 kB / 1.127 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.033, allocations: 0 / 1.127 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/1.033, allocations: 4.438 kB / 1.127 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/1.033, allocations: 5.719 kB / 1.127 GB, free: 32.84 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/1.034, allocations: 57.36 kB / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/1.034, allocations: 321.9 kB / 1.128 GB, free: 32.46 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/1.034, allocations: 61.89 kB / 1.128 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.461e-05/1.034, allocations: 7.688 kB / 1.128 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/1.034, allocations: 81.89 kB / 1.128 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/1.035, allocations: 4 kB / 1.128 GB, free: 32.31 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003819/1.035, allocations: 135.1 kB / 1.128 GB, free: 32.19 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/1.035, allocations: 66.91 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.445e-05/1.035, allocations: 112.4 kB / 1.128 GB, free: 32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/1.035, allocations: 30.73 kB / 1.128 GB, free: 31.97 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/1.035, allocations: 91.52 kB / 1.128 GB, free: 31.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/1.035, allocations: 11.81 kB / 1.128 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.36e-06/1.035, allocations: 0 / 1.128 GB, free: 31.87 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.027e-05/1.035, allocations: 322.4 kB / 1.129 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.855e-05/1.035, allocations: 34.8 kB / 1.129 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/1.035, allocations: 77.55 kB / 1.129 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/1.035, allocations: 42.98 kB / 1.129 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/1.036, allocations: 0 / 1.129 GB, free: 31.39 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002649/1.036, allocations: 146.8 kB / 1.129 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/1.036, allocations: 4 kB / 1.129 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.303e-06/1.036, allocations: 5.797 kB / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/1.036, allocations: 0 / 1.129 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/1.036, allocations: 24.12 kB / 1.129 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/1.036, allocations: 11.47 kB / 1.129 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.302e-05/1.036, allocations: 12 kB / 1.129 GB, free: 31.21 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/1.036, allocations: 11.89 kB / 1.129 GB, free: 31.2 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 7.699e-05/1.036, allocations: 125.1 kB / 1.129 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.36e-05/1.036, allocations: 9.219 kB / 1.129 GB, free: 31.07 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/1.036, allocations: 8.375 kB / 1.129 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/1.036, allocations: 1.688 kB / 1.129 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/1.036, allocations: 4.938 kB / 1.129 GB, free: 31.06 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.908e-06/1.036, allocations: 4 kB / 1.129 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003828/1.037, allocations: 382.1 kB / 1.129 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.037, allocations: 0 / 1.129 GB, free: 30.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.242e-05/1.037, allocations: 19.64 kB / 1.129 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/1.037, allocations: 0 / 1.129 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/1.037, allocations: 0 / 1.129 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/1.037, allocations: 1.234 kB / 1.129 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.037, allocations: 3.953 kB / 1.129 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/1.037, allocations: 214.4 kB / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.17e-05/1.037, allocations: 81.42 kB / 1.13 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/1.037, allocations: 4 kB / 1.13 GB, free: 30.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.327e-05/1.037, allocations: 4.562 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.266e-05/1.037, allocations: 7.516 kB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/1.037, allocations: 7.953 kB / 1.13 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.511e-05/1.037, allocations: 99.48 kB / 1.13 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1e-07/1.037, allocations: 0 / 1.13 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002459/1.038, allocations: 19.66 kB / 1.13 GB, free: 30.2 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.0005016/1.038, allocations: 0.767 MB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002506/1.038, allocations: 86.22 kB / 1.131 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.038, allocations: 3.938 kB / 1.131 GB, free: 29.35 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/1.038, allocations: 43.86 kB / 1.131 GB, free: 29.32 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/1.039, allocations: 13.2 kB / 1.131 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007703/1.039, allocations: 1.3 MB / 1.132 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/1.04, allocations: 0.6993 MB / 1.133 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.547e-05/1.04, allocations: 7.875 kB / 1.133 GB, free: 27.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.437e-05/1.04, allocations: 19.44 kB / 1.133 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.04, allocations: 0 / 1.133 GB, free: 27.21 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01337/1.053, allocations: 1.781 MB / 1.135 GB, free: 26.29 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/1.053, allocations: 215.1 kB / 1.135 GB, free: 26.05 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.703/2.756, allocations: 0 / 1.135 GB, free: 26.05 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)