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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 114.6 kB / 17.16 MB, free: 6.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002377/0.002377, allocations: 212.6 kB / 20.13 MB, free: 3.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.613/1.613, allocations: 230.6 MB / 253.5 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.932/2.932, allocations: 476.7 MB / 0.7678 GB, free: 9.375 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 67.91 kB / 1.113 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.067, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002282/1.07, allocations: 0.758 MB / 1.28 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001682/1.071, allocations: 1.107 MB / 1.281 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.662e-05/1.071, allocations: 1.125 kB / 1.281 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.758e-05/1.072, allocations: 4.641 kB / 1.281 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.358e-05/1.072, allocations: 10.84 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003362/1.072, allocations: 59.08 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001453/1.072, allocations: 66.73 kB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001271/1.072, allocations: 23.53 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.492e-05/1.072, allocations: 31.83 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.528e-05/1.072, allocations: 32.61 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.014e-05/1.072, allocations: 6.375 kB / 1.281 GB, free: 10.32 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.644e-05/1.072, allocations: 19.92 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.741e-05/1.073, allocations: 14 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.825e-05/1.073, allocations: 34.39 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/1.073, allocations: 76.92 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/1.073, allocations: 1.125 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.044e-06/1.073, allocations: 4 kB / 1.281 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.362e-06/1.073, allocations: 0 / 1.281 GB, free: 10.25 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.0006577/1.073, allocations: 379.7 kB / 1.282 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/1.073, allocations: 10.47 kB / 1.282 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.897e-05/1.073, allocations: 1.312 kB / 1.282 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.561e-05/1.074, allocations: 37.31 kB / 1.282 GB, free: 9.828 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.263e-05/1.074, allocations: 8.234 kB / 1.282 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/1.074, allocations: 182.2 kB / 1.282 GB, free: 9.613 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.309e-05/1.074, allocations: 7.031 kB / 1.282 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/1.074, allocations: 3.781 kB / 1.282 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002612/1.074, allocations: 76.8 kB / 1.282 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.475e-06/1.074, allocations: 0 / 1.282 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/1.074, allocations: 1.031 kB / 1.282 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/1.074, allocations: 1.484 kB / 1.282 GB, free: 9.559 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001879/1.074, allocations: 47.38 kB / 1.282 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006989/1.075, allocations: 327.5 kB / 1.282 GB, free: 9.246 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/1.075, allocations: 57.08 kB / 1.282 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001153/1.075, allocations: 31.95 kB / 1.282 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/1.075, allocations: 1.156 kB / 1.282 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002767/1.076, allocations: 81.77 kB / 1.282 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/1.076, allocations: 0 / 1.282 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0005257/1.076, allocations: 128.1 kB / 1.282 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.629e-05/1.076, allocations: 57.42 kB / 1.283 GB, free: 9.008 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/1.076, allocations: 127.6 kB / 1.283 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/1.076, allocations: 26.77 kB / 1.283 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/1.076, allocations: 104.9 kB / 1.283 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/1.076, allocations: 11.22 kB / 1.283 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.523e-05/1.076, allocations: 30.94 kB / 1.283 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001796/1.077, allocations: 322.7 kB / 1.283 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/1.077, allocations: 26.95 kB / 1.283 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/1.077, allocations: 75.91 kB / 1.283 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003691/1.077, allocations: 110.6 kB / 1.283 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.077, allocations: 0 / 1.283 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005301/1.078, allocations: 134.2 kB / 1.283 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/1.078, allocations: 9.125 kB / 1.283 GB, free: 8.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/1.078, allocations: 6.109 kB / 1.283 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/1.078, allocations: 2.25 kB / 1.283 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/1.078, allocations: 17.12 kB / 1.283 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.597e-05/1.078, allocations: 6.031 kB / 1.283 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001417/1.078, allocations: 12.41 kB / 1.284 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.188e-05/1.078, allocations: 9.359 kB / 1.284 GB, free: 8.176 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 0.0001285/1.079, allocations: 125.2 kB / 1.284 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.299e-05/1.079, allocations: 7.422 kB / 1.284 GB, free: 8.047 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.715e-05/1.079, allocations: 11.3 kB / 1.284 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/1.079, allocations: 1.5 kB / 1.284 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.079, allocations: 0 / 1.284 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.391e-06/1.079, allocations: 0.8906 kB / 1.284 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000773/1.079, allocations: 374.8 kB / 1.284 GB, free: 7.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.079, allocations: 5.828 kB / 1.284 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.25e-05/1.079, allocations: 11.62 kB / 1.284 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/1.079, allocations: 0.8906 kB / 1.284 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/1.079, allocations: 5.062 kB / 1.284 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/1.079, allocations: 5.281 kB / 1.284 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.079, allocations: 0.9844 kB / 1.284 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004676/1.08, allocations: 203.1 kB / 1.284 GB, free: 7.527 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.026e-05/1.08, allocations: 78.91 kB / 1.284 GB, free: 7.434 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.973e-05/1.08, allocations: 9.5 kB / 1.284 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/1.08, allocations: 6.906 kB / 1.284 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/1.08, allocations: 5.141 kB / 1.284 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/1.08, allocations: 6.375 kB / 1.284 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.705e-05/1.08, allocations: 91.78 kB / 1.284 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.08, allocations: 1.531 kB / 1.284 GB, free: 7.344 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000501/1.081, allocations: 20.42 kB / 1.284 GB, free: 7.336 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.0009971/1.082, allocations: 0.7453 MB / 1.285 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004617/1.082, allocations: 82.69 kB / 1.285 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.082, allocations: 0 / 1.285 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/1.083, allocations: 34.75 kB / 1.285 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/1.083, allocations: 12.67 kB / 1.285 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002989/1.086, allocations: 1.525 MB / 1.287 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004503/1.086, allocations: 0.6933 MB / 1.287 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.602e-05/1.086, allocations: 5.688 kB / 1.287 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.613e-05/1.087, allocations: 22.16 kB / 1.287 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of SimCode: time 4.71e-07/1.087, allocations: 5.344 kB / 1.287 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/1.108, allocations: 2.183 MB / 1.29 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.376/9.484, allocations: 10.12 kB / 1.29 GB, free: 4.109 MB / 0.9981 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --stepSize=0.002 --timeout=400 --tolerance=1e-06 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: 16.0363806039677] Failed to read output from testmodel.py, exit status != 0: 9.608959192992188 9.631838515 8.555053875 Calling exit ...