Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001604/0.001604, allocations: 114.7 kB / 17.6 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001796/0.001796, allocations: 186 kB / 20.78 MB, free: 1.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 249.4 MB, free: 3.148 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.828/2.828, allocations: 476.7 MB / 0.7629 GB, free: 15.24 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime,fileNamePrefix="Buildings_11_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_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 63.89 kB / 1.107 GB, free: 5.109 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.033, allocations: 168.7 MB / 1.272 GB, free: 7.711 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002105/1.035, allocations: 0.7567 MB / 1.272 GB, free: 7.254 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001392/1.036, allocations: 1.075 MB / 1.273 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/1.037, allocations: 0.9375 kB / 1.273 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.544e-05/1.037, allocations: 5.812 kB / 1.273 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.884e-05/1.037, allocations: 18.53 kB / 1.273 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/1.037, allocations: 55.3 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/1.037, allocations: 69.98 kB / 1.273 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/1.037, allocations: 16.09 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.094e-05/1.037, allocations: 30.72 kB / 1.274 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.246e-05/1.037, allocations: 33.41 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/1.037, allocations: 5.344 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.539e-05/1.037, allocations: 23.58 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/1.038, allocations: 18.47 kB / 1.274 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.492e-05/1.038, allocations: 31.05 kB / 1.274 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001775/1.038, allocations: 80.8 kB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/1.038, allocations: 0.7812 kB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.393e-06/1.038, allocations: 3.938 kB / 1.274 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.861e-06/1.038, allocations: 4.75 kB / 1.274 GB, free: 6.262 MB / 0.9981 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.0005407/1.038, allocations: 375.5 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/1.038, allocations: 10.03 kB / 1.274 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.596e-05/1.038, allocations: 42.95 kB / 1.274 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.655e-05/1.038, allocations: 8.703 kB / 1.274 GB, free: 5.836 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.781e-05/1.039, allocations: 175.1 kB / 1.274 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.698e-05/1.039, allocations: 9.141 kB / 1.274 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/1.039, allocations: 7.906 kB / 1.274 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002114/1.039, allocations: 75.19 kB / 1.274 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/1.039, allocations: 0 / 1.274 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/1.039, allocations: 1.969 kB / 1.274 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/1.039, allocations: 1 kB / 1.274 GB, free: 5.57 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/1.039, allocations: 43.55 kB / 1.274 GB, free: 5.562 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006041/1.04, allocations: 327.7 kB / 1.275 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/1.04, allocations: 48.88 kB / 1.275 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.656e-05/1.04, allocations: 27.75 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.768e-05/1.04, allocations: 1 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002508/1.04, allocations: 86.78 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.603e-06/1.04, allocations: 0 / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0005546/1.041, allocations: 127.1 kB / 1.275 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/1.041, allocations: 54.34 kB / 1.275 GB, free: 5.035 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/1.041, allocations: 120.9 kB / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/1.041, allocations: 30.67 kB / 1.275 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.226e-05/1.041, allocations: 99.16 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/1.041, allocations: 16.5 kB / 1.275 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/1.041, allocations: 26.2 kB / 1.275 GB, free: 4.766 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.452e-05/1.041, allocations: 326 kB / 1.276 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/1.041, allocations: 30.91 kB / 1.276 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/1.041, allocations: 83.48 kB / 1.276 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/1.042, allocations: 107.1 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.042, allocations: 1.031 kB / 1.276 GB, free: 4.281 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000335/1.042, allocations: 125.5 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.032e-05/1.042, allocations: 5.469 kB / 1.276 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/1.042, allocations: 6.062 kB / 1.276 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/1.042, allocations: 3.016 kB / 1.276 GB, free: 4.219 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001366/1.042, allocations: 20.5 kB / 1.276 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/1.042, allocations: 3.359 kB / 1.276 GB, free: 4.215 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.817e-05/1.042, allocations: 17.97 kB / 1.276 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/1.042, allocations: 8.125 kB / 1.276 GB, free: 4.203 MB / 0.9981 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 (triggeredSampler1.y,$PRE.triggeredSampler1.y,triggeredSampler.y,$PRE.triggeredSampler.y,samTri.y,$whenCondition1,samTri1.y,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.314e-05/1.042, allocations: 126.8 kB / 1.276 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.557e-05/1.042, allocations: 7.312 kB / 1.276 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/1.042, allocations: 14.83 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/1.042, allocations: 1.125 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.042, allocations: 1.188 kB / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.157e-06/1.042, allocations: 0 / 1.276 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/1.043, allocations: 372.2 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.043, allocations: 0.5938 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.492e-05/1.043, allocations: 8.766 kB / 1.277 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/1.043, allocations: 4.594 kB / 1.277 GB, free: 3.719 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/1.043, allocations: 5.312 kB / 1.277 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.043, allocations: 4.625 kB / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/1.043, allocations: 0 / 1.277 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002865/1.043, allocations: 209 kB / 1.277 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.619e-05/1.043, allocations: 82.47 kB / 1.277 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.972e-05/1.043, allocations: 5.875 kB / 1.277 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.112e-05/1.043, allocations: 14.78 kB / 1.277 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.011e-05/1.043, allocations: 8.641 kB / 1.277 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-06/1.043, allocations: 1.812 kB / 1.277 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.818e-05/1.043, allocations: 92.27 kB / 1.277 GB, free: 3.359 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.043, allocations: 4.75 kB / 1.277 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000258/1.044, allocations: 12.5 kB / 1.277 GB, free: 3.355 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005578/1.044, allocations: 0.7462 MB / 1.278 GB, free: 2.668 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000305/1.044, allocations: 74.67 kB / 1.278 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.044, allocations: 1.562 kB / 1.278 GB, free: 2.652 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000117/1.045, allocations: 35.64 kB / 1.278 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/1.045, allocations: 16.22 kB / 1.278 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/1.047, allocations: 1.535 MB / 1.279 GB, free: 17.25 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005101/1.047, allocations: 0.6885 MB / 1.28 GB, free: 16.56 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.004e-05/1.047, allocations: 5.984 kB / 1.28 GB, free: 16.56 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/1.047, allocations: 26.45 kB / 1.28 GB, free: 16.54 MB / 1.014 GB Notification: Performance of SimCode: time 3e-07/1.047, allocations: 3.938 kB / 1.28 GB, free: 16.54 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02741/1.075, allocations: 2.094 MB / 1.282 GB, free: 16.13 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.053/9.127, allocations: 4.922 kB / 1.282 GB, free: 16.13 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.csv --start-time -2 --stop-time 3 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.426831043994753] Failed to read output from testmodel.py, exit status != 0: 9.194947076990502 9.210410332 8.169038291 Calling exit ...