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.001567/0.001567, 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.002037/0.002037, allocations: 220.1 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.514/1.514, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.789/2.789, allocations: 476.8 MB / 0.7715 GB, free: 3.902 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.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.001963/0.001963, allocations: 68.16 kB / 1.118 GB, free: 39.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3591/0.361, allocations: 169.9 MB / 1.284 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.002143/0.3632, allocations: 0.7461 MB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.3646, allocations: 1.083 MB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.509e-05/0.3647, allocations: 4 kB / 1.286 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.529e-05/0.3647, allocations: 7.875 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.197e-05/0.3648, allocations: 15.86 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003302/0.3651, allocations: 51.88 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001365/0.3653, allocations: 79.72 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.3654, allocations: 13.58 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.587e-05/0.3655, allocations: 27.92 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.816e-05/0.3655, allocations: 35.83 kB / 1.286 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.3655, allocations: 8 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.219e-05/0.3656, allocations: 16 kB / 1.286 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.3656, allocations: 15.92 kB / 1.286 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.3657, allocations: 23.91 kB / 1.286 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.3659, allocations: 83.2 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.3659, allocations: 0 / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3659, allocations: 4 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.018e-05/0.3659, allocations: 3.938 kB / 1.286 GB, free: 8.449 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.0006132/0.3665, allocations: 308 kB / 1.287 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.3665, allocations: 12.03 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.224e-05/0.3665, allocations: 4.125 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.191e-05/0.3666, allocations: 30.75 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.92e-05/0.3666, allocations: 8.891 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001234/0.3667, allocations: 110.5 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.3668, allocations: 16.3 kB / 1.287 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.3668, allocations: 4.375 kB / 1.287 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001963/0.367, allocations: 73.73 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.367, allocations: 0 / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.367, allocations: 4 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.367, allocations: 4 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000173/0.3672, allocations: 39.95 kB / 1.287 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006464/0.3678, allocations: 287.8 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.368, allocations: 54.59 kB / 1.287 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.3681, allocations: 28.95 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.3681, allocations: 0 / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.3684, allocations: 75.38 kB / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.3684, allocations: 0 / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004424/0.3688, allocations: 141.5 kB / 1.287 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.3689, allocations: 51.41 kB / 1.287 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001172/0.369, allocations: 121.8 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.449e-05/0.369, allocations: 29.7 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.3691, allocations: 96.08 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.3691, allocations: 15.91 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.605e-05/0.3691, allocations: 25.7 kB / 1.288 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3693, allocations: 326.8 kB / 1.288 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000114/0.3694, allocations: 31.92 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001597/0.3696, allocations: 73.98 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.3698, allocations: 109.8 kB / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3698, allocations: 0 / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003057/0.3701, allocations: 133.5 kB / 1.288 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3701, allocations: 10.03 kB / 1.288 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3702, allocations: 0 / 1.288 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.3702, allocations: 4 kB / 1.288 GB, free: 6.031 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.3703, allocations: 19.92 kB / 1.288 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.3703, allocations: 224 / 1.288 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.104e-05/0.3704, allocations: 27.92 kB / 1.288 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.3704, allocations: 7.938 kB / 1.288 GB, free: 5.977 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.0001158/0.3705, allocations: 115.2 kB / 1.289 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.701e-05/0.3706, allocations: 7.953 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.378e-05/0.3706, allocations: 12.36 kB / 1.289 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.3706, allocations: 7.938 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3706, allocations: 3.938 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3706, allocations: 3.984 kB / 1.289 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005212/0.3711, allocations: 341.5 kB / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.3711, allocations: 0 / 1.289 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.417e-05/0.3712, allocations: 11.92 kB / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.3712, allocations: 0 / 1.289 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.175e-05/0.3712, allocations: 7.938 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3712, allocations: 0 / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.3712, allocations: 0 / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003125/0.3715, allocations: 203.5 kB / 1.289 GB, free: 5.199 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.129e-05/0.3715, allocations: 7.938 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/0.3715, allocations: 7.938 kB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.103e-05/0.3716, allocations: 7.984 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.3717, allocations: 4 kB / 1.289 GB, free: 5.172 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.3717, allocations: 11.92 kB / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.052e-05/0.3717, allocations: 87.94 kB / 1.289 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3717, allocations: 0 / 1.289 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002556/0.372, allocations: 19.94 kB / 1.289 GB, free: 5.055 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.0007388/0.3727, allocations: 0.744 MB / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002808/0.373, allocations: 75.83 kB / 1.29 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.373, allocations: 0 / 1.29 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.3731, allocations: 32.45 kB / 1.29 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.3734, allocations: 22.59 kB / 1.29 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/0.3752, allocations: 1.526 MB / 1.292 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.546e-05/0.3753, allocations: 75.33 kB / 1.292 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.36e-05/0.3753, allocations: 4 kB / 1.292 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.995e-05/0.3754, allocations: 23.42 kB / 1.292 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of SimCode: time 4.11e-07/0.3754, allocations: 4 kB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.3987, allocations: 2.322 MB / 1.294 GB, free: 264 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.78, allocations: 13.81 kB / 1.294 GB, free: 256 kB / 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.554794750991277] Failed to read output from testmodel.py, exit status != 0: 12.527357722981833 11.968915993 11.599659954 Calling exit ...