Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 2.746/2.746, allocations: 285.6 MB / 293.1 MB, free: 10.26 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.00173/0.00173, allocations: 184.8 kB / 361.4 MB, free: 6.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.239/3.239, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.001346/0.001346, allocations: 91.83 kB / 0.733 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.213e-05/5.239e-05, allocations: 7.984 kB / 0.8519 GB, free: 2.633 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.255/1.255, allocations: 115.3 MB / 0.9645 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2906/1.546, allocations: 137.3 MB / 1.099 GB, free: 2.578 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003889/1.546, allocations: 72.52 kB / 1.099 GB, free: 2.508 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0102/1.557, allocations: 2.481 MB / 1.101 GB, free: 80 kB / 0.698 GB Notification: Performance of FrontEnd: time 3.376e-06/1.557, allocations: 1.406 kB / 1.101 GB, free: 80 kB / 0.698 GB Notification: Performance of Transformations before backend: time 1.839e-05/1.557, allocations: 4 kB / 1.101 GB, free: 76 kB / 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.000915/1.558, allocations: 367.7 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001014/1.558, allocations: 12.03 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.806e-05/1.558, allocations: 9.625 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/1.558, allocations: 178.9 kB / 1.102 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/1.558, allocations: 0.5625 kB / 1.102 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.614e-05/1.558, allocations: 4.656 kB / 1.102 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001567/1.558, allocations: 20 kB / 1.102 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/1.559, allocations: 46.34 kB / 1.102 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.384e-05/1.559, allocations: 0.625 kB / 1.102 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.16e-05/1.559, allocations: 2.672 kB / 1.102 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.178e-06/1.559, allocations: 0.7188 kB / 1.102 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/1.56, allocations: 287.2 kB / 1.102 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/1.56, allocations: 43.77 kB / 1.102 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.11e-05/1.56, allocations: 23.55 kB / 1.102 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 5.167e-05/1.56, allocations: 3.984 kB / 1.102 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002454/1.56, allocations: 65.16 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.505e-06/1.56, allocations: 0 / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003458/1.561, allocations: 81.55 kB / 1.102 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/1.561, allocations: 56.06 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/1.561, allocations: 112.6 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/1.561, allocations: 25.7 kB / 1.102 GB, free: 14.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001003/1.561, allocations: 92.05 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/1.561, allocations: 15.73 kB / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.386e-06/1.561, allocations: 0 / 1.102 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002229/1.561, allocations: 322.8 kB / 1.103 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.105e-05/1.562, allocations: 23.36 kB / 1.103 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/1.562, allocations: 55.8 kB / 1.103 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003831/1.562, allocations: 47.23 kB / 1.103 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/1.562, allocations: 4 kB / 1.103 GB, free: 14.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004738/1.563, allocations: 117.5 kB / 1.103 GB, free: 13.91 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/1.563, allocations: 4.625 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.563, allocations: 0 / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/1.563, allocations: 4 kB / 1.103 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/1.563, allocations: 23.98 kB / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/1.563, allocations: 0 / 1.103 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000133/1.563, allocations: 20.11 kB / 1.103 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/1.563, allocations: 4 kB / 1.103 GB, free: 13.85 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.0001478/1.563, allocations: 114 kB / 1.103 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000162/1.563, allocations: 77.67 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/1.563, allocations: 3.906 kB / 1.103 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.251e-05/1.564, allocations: 16.61 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/1.564, allocations: 3.938 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.564, allocations: 0 / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/1.564, allocations: 4 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005399/1.564, allocations: 319 kB / 1.104 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/1.564, allocations: 3.312 kB / 1.104 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.832e-05/1.564, allocations: 15.98 kB / 1.104 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.274e-06/1.564, allocations: 1.078 kB / 1.104 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/1.564, allocations: 0 / 1.104 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.564, allocations: 0 / 1.104 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.431e-05/1.564, allocations: 3.953 kB / 1.104 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002475/1.565, allocations: 179.4 kB / 1.104 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.687e-05/1.565, allocations: 85.09 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.58e-05/1.565, allocations: 0 / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/1.565, allocations: 4 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.221e-05/1.565, allocations: 7.984 kB / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/1.565, allocations: 11.95 kB / 1.104 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001078/1.565, allocations: 97.67 kB / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/1.565, allocations: 0 / 1.104 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004648/1.566, allocations: 19.94 kB / 1.104 GB, free: 12.82 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.0009012/1.567, allocations: 0.716 MB / 1.105 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000227/1.567, allocations: 56.34 kB / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/1.567, allocations: 0 / 1.105 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.995e-05/1.567, allocations: 23.98 kB / 1.105 GB, free: 12 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003703/1.567, allocations: 8 kB / 1.105 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000756/1.568, allocations: 136.5 kB / 1.105 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005439/1.569, allocations: 0.6965 MB / 1.106 GB, free: 11.1 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 6.302e-05/1.569, allocations: 8 kB / 1.106 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.799e-05/1.569, allocations: 25.53 kB / 1.106 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of SimCode: time 7.11e-07/1.569, allocations: 3.938 kB / 1.106 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1365/1.705, allocations: 1.451 MB / 1.107 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00038/1.706, allocations: 188.8 kB / 1.107 GB, free: 9.477 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.991/4.697, allocations: 0 / 1.107 GB, free: 9.477 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1)