Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001581/0.001581, 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.001982/0.001982, 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.52/1.52, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.327/3.327, allocations: 0.49 GB / 0.7959 GB, free: 35.57 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002128/0.002128, allocations: 66.61 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.343/0.3451, allocations: 176.1 MB / 1.327 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.002186/0.3473, allocations: 0.7317 MB / 1.327 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.3489, allocations: 1.089 MB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.075e-05/0.3489, allocations: 3.938 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 3.688e-05/0.349, allocations: 3.938 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.18e-05/0.3491, allocations: 19.86 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00035/0.3494, allocations: 51.88 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001505/0.3496, allocations: 75.72 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.3497, allocations: 16.17 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.934e-05/0.3497, allocations: 31.86 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.569e-05/0.3498, allocations: 39.83 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.3498, allocations: 4 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.347e-05/0.3499, allocations: 16 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.87e-05/0.3499, allocations: 19.92 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.306e-05/0.35, allocations: 27.84 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001687/0.3501, allocations: 87.91 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3501, allocations: 0 / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3501, allocations: 0 / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.063e-06/0.3501, allocations: 0 / 1.329 GB, free: 15.23 MB / 1.029 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.0006283/0.3508, allocations: 306 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.3508, allocations: 8.031 kB / 1.329 GB, free: 14.9 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.474e-05/0.3508, allocations: 4.188 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.484e-05/0.3509, allocations: 34.75 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.3509, allocations: 8.891 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.3511, allocations: 114.5 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.3511, allocations: 12.36 kB / 1.329 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.589e-05/0.3511, allocations: 4.375 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002219/0.3513, allocations: 69.73 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.3513, allocations: 0 / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3513, allocations: 4 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.3513, allocations: 3.984 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001772/0.3515, allocations: 39.97 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000682/0.3522, allocations: 291.7 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.3524, allocations: 50.56 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001068/0.3525, allocations: 28.95 kB / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.402e-05/0.3525, allocations: 0 / 1.33 GB, free: 14.15 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/0.3528, allocations: 75.38 kB / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=7): time 1.463e-06/0.3528, allocations: 0 / 1.33 GB, free: 14.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=7): time 0.000455/0.3532, allocations: 141.6 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.3533, allocations: 55.41 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001397/0.3534, allocations: 113.8 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.3534, allocations: 37.64 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.374e-05/0.3535, allocations: 96.08 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.975e-05/0.3535, allocations: 7.906 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.047e-05/0.3536, allocations: 29.7 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.3537, allocations: 330.7 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.3539, allocations: 27.98 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001531/0.354, allocations: 74.42 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/0.3543, allocations: 113.8 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.3543, allocations: 0 / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003267/0.3546, allocations: 129.5 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.3546, allocations: 8 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.3546, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.3546, allocations: 4 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.3548, allocations: 24.14 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3548, allocations: 4 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.846e-05/0.3549, allocations: 15.92 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.3549, allocations: 11.94 kB / 1.331 GB, free: 12.77 MB / 1.029 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.0001123/0.355, allocations: 113.8 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.355, allocations: 11.89 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.3551, allocations: 12.38 kB / 1.331 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3551, allocations: 3.984 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.3551, allocations: 0 / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3551, allocations: 4 kB / 1.331 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005287/0.3556, allocations: 337.8 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3556, allocations: 0 / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.677e-05/0.3557, allocations: 15.92 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.965e-06/0.3557, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.3557, allocations: 3.938 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3557, allocations: 0 / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3557, allocations: 3.938 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003208/0.356, allocations: 215.5 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.867e-05/0.356, allocations: 11.89 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.356, allocations: 3.938 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.283e-05/0.3561, allocations: 7.984 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/0.3562, allocations: 7.984 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.3562, allocations: 0 / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.704e-05/0.3562, allocations: 95.44 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3562, allocations: 4 kB / 1.332 GB, free: 11.85 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002637/0.3565, allocations: 15.98 kB / 1.332 GB, free: 11.84 MB / 1.029 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.0007203/0.3572, allocations: 0.7475 MB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000289/0.3575, allocations: 79.81 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3575, allocations: 0 / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.3576, allocations: 32.36 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002785/0.3579, allocations: 21.64 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001911/0.3598, allocations: 1.516 MB / 1.334 GB, free: 9.297 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.884e-05/0.3599, allocations: 79.33 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.765e-05/0.3599, allocations: 4 kB / 1.334 GB, free: 9.195 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.666e-05/0.36, allocations: 23.42 kB / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.36, allocations: 0 / 1.334 GB, free: 9.172 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.385, allocations: 2.335 MB / 1.337 GB, free: 7.043 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/11.92, allocations: 11.94 kB / 1.337 GB, free: 7.031 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime_fmu --startTime=-2 --stopTime=3 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerNegativeStartTime.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.95493629097473] Failed to read output from testmodel.py, exit status != 0: 12.087634281022474 12.113623104 11.760192799 Calling exit ...