Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.001315/0.001315, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001388/0.001388, allocations: 216.7 kB / 23.05 MB, free: 5.074 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.53/1.53, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.907/2.907, allocations: 476.7 MB / 0.7714 GB, free: 4.312 MB / 0.6231 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.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime",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.002028/0.002028, allocations: 64.69 kB / 1.118 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3908, allocations: 170 MB / 1.284 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.00201/0.3928, allocations: 0.7481 MB / 1.285 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001699/0.3945, allocations: 1.118 MB / 1.286 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.783e-05/0.3946, allocations: 4 kB / 1.286 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.504e-05/0.3946, allocations: 3.938 kB / 1.286 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.814e-05/0.3947, allocations: 11.86 kB / 1.286 GB, free: 9.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002975/0.395, allocations: 55.83 kB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.3951, allocations: 71.78 kB / 1.286 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3952, allocations: 20.16 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.346e-05/0.3953, allocations: 27.92 kB / 1.286 GB, free: 9.551 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.099e-05/0.3953, allocations: 31.84 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.3954, allocations: 8 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.005e-05/0.3954, allocations: 19.98 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.691e-05/0.3954, allocations: 15.97 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.756e-05/0.3955, allocations: 27.81 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.3957, allocations: 91.12 kB / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3957, allocations: 0 / 1.286 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3957, allocations: 4 kB / 1.286 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.3957, allocations: 0 / 1.286 GB, free: 9.359 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.0005374/0.3962, allocations: 298.1 kB / 1.287 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3963, allocations: 8.031 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.238e-05/0.3963, allocations: 4.188 kB / 1.287 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.003e-05/0.3963, allocations: 42.67 kB / 1.287 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.3963, allocations: 8.891 kB / 1.287 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.3965, allocations: 118.4 kB / 1.287 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.232e-05/0.3965, allocations: 8.375 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.3965, allocations: 8.375 kB / 1.287 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.3967, allocations: 73.72 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.675e-06/0.3967, allocations: 0 / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.3967, allocations: 0 / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/0.3967, allocations: 0 / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.3969, allocations: 43.95 kB / 1.287 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006634/0.3975, allocations: 299.7 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001679/0.3977, allocations: 50.55 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.967e-05/0.3978, allocations: 24.97 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.459e-05/0.3978, allocations: 7.984 kB / 1.287 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002223/0.3981, allocations: 79.31 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.153e-06/0.3981, allocations: 96 / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004187/0.3985, allocations: 133.5 kB / 1.288 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.3985, allocations: 55.41 kB / 1.288 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.3986, allocations: 129.8 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.795e-05/0.3987, allocations: 29.7 kB / 1.288 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.3987, allocations: 92.08 kB / 1.288 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.548e-05/0.3987, allocations: 23.83 kB / 1.288 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.3988, allocations: 29.7 kB / 1.288 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.00015/0.3989, allocations: 318.8 kB / 1.288 GB, free: 7.324 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.3991, allocations: 31.97 kB / 1.288 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001401/0.3992, allocations: 77.92 kB / 1.288 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000243/0.3994, allocations: 105.9 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3994, allocations: 0 / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003077/0.3997, allocations: 129.6 kB / 1.288 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3998, allocations: 8 kB / 1.289 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.89e-06/0.3998, allocations: 0 / 1.289 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.886e-05/0.3998, allocations: 7.938 kB / 1.289 GB, free: 6.922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.3999, allocations: 23.97 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3999, allocations: 0 / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.749e-05/0.4, allocations: 8 kB / 1.289 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.386e-05/0.4, allocations: 11.92 kB / 1.289 GB, free: 6.879 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.0001079/0.4001, allocations: 125.8 kB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/0.4002, allocations: 15.94 kB / 1.289 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.96e-05/0.4002, allocations: 4.375 kB / 1.289 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4002, allocations: 4 kB / 1.289 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4002, allocations: 3.938 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4002, allocations: 0 / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.4007, allocations: 353.4 kB / 1.289 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.4007, allocations: 4 kB / 1.289 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.475e-05/0.4007, allocations: 7.984 kB / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4007, allocations: 0 / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.4008, allocations: 3.938 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4008, allocations: 4 kB / 1.289 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.4008, allocations: 4 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003135/0.4011, allocations: 199.5 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.431e-05/0.4011, allocations: 11.89 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.4011, allocations: 3.938 kB / 1.289 GB, free: 6.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.341e-05/0.4012, allocations: 11.98 kB / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.513e-05/0.4012, allocations: 7.938 kB / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-06/0.4012, allocations: 0 / 1.289 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.666e-05/0.4013, allocations: 91.92 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4013, allocations: 0 / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002607/0.4016, allocations: 20 kB / 1.289 GB, free: 5.941 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.0006904/0.4023, allocations: 0.7362 MB / 1.29 GB, free: 5.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002904/0.4026, allocations: 84.08 kB / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4026, allocations: 0 / 1.29 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.4027, allocations: 35.97 kB / 1.29 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.4029, allocations: 4 kB / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00191/0.4048, allocations: 1.532 MB / 1.292 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004101/0.4052, allocations: 0.6885 MB / 1.292 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.666e-05/0.4053, allocations: 8 kB / 1.292 GB, free: 2.684 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.344e-05/0.4053, allocations: 23.42 kB / 1.292 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.4053, allocations: 0 / 1.292 GB, free: 2.66 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02305/0.4284, allocations: 2.263 MB / 1.295 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.6, allocations: 11.56 kB / 1.295 GB, free: 0.5781 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime_fmu --startTime=1 --stopTime=6 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTriggerPositiveStartTime.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.489642535045277] Failed to read output from testmodel.py, exit status != 0: 12.382689262973145 11.787488249 11.388678156 Calling exit ...