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.001594/0.001594, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001977/0.001977, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.484/1.484, allocations: 230.6 MB / 256.8 MB, free: 7.781 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.806/2.806, allocations: 476.8 MB / 0.7715 GB, free: 3.844 MB / 0.6231 GB " [Timeout remaining time 177] 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.002008/0.002008, allocations: 67.55 kB / 1.118 GB, free: 39.65 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3598, allocations: 170 MB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002395/0.3621, allocations: 0.7362 MB / 1.285 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0017/0.3638, allocations: 1.087 MB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.438e-05/0.3639, allocations: 3.938 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.219e-05/0.364, allocations: 7.875 kB / 1.286 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.428e-05/0.3641, allocations: 19.84 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003602/0.3644, allocations: 43.89 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.3646, allocations: 71.78 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.3647, allocations: 19.69 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.834e-05/0.3648, allocations: 35.91 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.3648, allocations: 35.84 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.898e-05/0.3649, allocations: 7.938 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 7.286e-05/0.3649, allocations: 15.98 kB / 1.286 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.277e-05/0.365, allocations: 15.94 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.437e-05/0.365, allocations: 31.84 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.3652, allocations: 77.09 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3652, allocations: 0 / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3652, allocations: 0 / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.3652, allocations: 0 / 1.286 GB, free: 8.344 MB / 0.9825 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.0006067/0.3658, allocations: 315.7 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.3659, allocations: 8.031 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.333e-05/0.3659, allocations: 4.188 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.576e-05/0.3659, allocations: 34.73 kB / 1.287 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.465e-05/0.366, allocations: 12.89 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.3661, allocations: 118.4 kB / 1.287 GB, free: 7.801 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.3661, allocations: 4.375 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.3661, allocations: 4.375 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.3664, allocations: 73.73 kB / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.896e-06/0.3664, allocations: 0 / 1.287 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3664, allocations: 7.984 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.3664, allocations: 0 / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001898/0.3666, allocations: 39.97 kB / 1.287 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007268/0.3673, allocations: 287.7 kB / 1.287 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.3675, allocations: 46.56 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.3676, allocations: 32.95 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.3676, allocations: 4 kB / 1.287 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002646/0.3679, allocations: 75.38 kB / 1.287 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.3679, allocations: 0 / 1.287 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004544/0.3683, allocations: 137.5 kB / 1.287 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.386e-05/0.3684, allocations: 55.41 kB / 1.287 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.3685, allocations: 125.8 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.286e-05/0.3685, allocations: 29.7 kB / 1.288 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.754e-05/0.3686, allocations: 96.08 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.3686, allocations: 11.91 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-05/0.3687, allocations: 33.7 kB / 1.288 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.3689, allocations: 318.8 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.369, allocations: 27.98 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001466/0.3691, allocations: 81.91 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002597/0.3694, allocations: 105.9 kB / 1.288 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3694, allocations: 4 kB / 1.288 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000335/0.3697, allocations: 133.5 kB / 1.288 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.3697, allocations: 4 kB / 1.288 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/0.3697, allocations: 0 / 1.288 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.3697, allocations: 4 kB / 1.288 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.3699, allocations: 27.92 kB / 1.288 GB, free: 5.891 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.3699, allocations: 4 kB / 1.288 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.679e-05/0.37, allocations: 11.92 kB / 1.288 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.37, allocations: 7.938 kB / 1.288 GB, free: 5.867 MB / 0.9825 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.0001058/0.3701, allocations: 122 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.3701, allocations: 11.89 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.436e-05/0.3702, allocations: 12.36 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3702, allocations: 0 / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3702, allocations: 0 / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3702, allocations: 0 / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005237/0.3707, allocations: 341.5 kB / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3707, allocations: 0 / 1.289 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.969e-05/0.3708, allocations: 19.92 kB / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.3708, allocations: 0 / 1.289 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.3708, allocations: 7.938 kB / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3708, allocations: 0 / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3708, allocations: 0 / 1.289 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.3711, allocations: 207.8 kB / 1.289 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.817e-05/0.3711, allocations: 7.938 kB / 1.289 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.3711, allocations: 3.938 kB / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.442e-05/0.3712, allocations: 7.984 kB / 1.289 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.3713, allocations: 19.97 kB / 1.289 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-06/0.3713, allocations: 0 / 1.289 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.896e-05/0.3713, allocations: 95.27 kB / 1.289 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3713, allocations: 0 / 1.289 GB, free: 4.949 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002649/0.3716, allocations: 19.95 kB / 1.289 GB, free: 4.93 MB / 0.9825 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.0006897/0.3723, allocations: 0.728 MB / 1.29 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002877/0.3726, allocations: 83.81 kB / 1.29 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.3726, allocations: 0 / 1.29 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.3727, allocations: 35.92 kB / 1.29 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002869/0.373, allocations: 11.92 kB / 1.29 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.375, allocations: 1.527 MB / 1.292 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.654e-05/0.3751, allocations: 75.33 kB / 1.292 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.805e-05/0.3751, allocations: 4 kB / 1.292 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.399e-05/0.3752, allocations: 23.42 kB / 1.292 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.3752, allocations: 4 kB / 1.292 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.4024, allocations: 2.327 MB / 1.294 GB, free: 144 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.32/11.72, allocations: 13.72 kB / 1.294 GB, free: 136 kB / 0.9825 GB " [Timeout remaining time 288] (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: 18.559596584993415] Failed to read output from testmodel.py, exit status != 0: 12.55473354307469 11.922230616 11.553718682 Calling exit ...