Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.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.001627/0.001627, allocations: 116.8 kB / 17.17 MB, free: 5.977 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.001517/0.001517, allocations: 209.5 kB / 20.13 MB, free: 3.035 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.487/1.487, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.825/2.825, allocations: 476.7 MB / 0.7678 GB, free: 9.359 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.Discrete.Validation.TriggeredSampler,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler",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.002315/0.002315, allocations: 67.89 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.145/1.148, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler): time 0.0024/1.15, allocations: 0.7564 MB / 1.28 GB, free: 11.23 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002058/1.152, allocations: 1.214 MB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.996e-05/1.152, allocations: 1.094 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.164e-05/1.152, allocations: 3.938 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.504e-05/1.152, allocations: 11.8 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006737/1.153, allocations: 140.3 kB / 1.281 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002698/1.153, allocations: 125.8 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/1.153, allocations: 13.44 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001326/1.154, allocations: 53.88 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001298/1.154, allocations: 50.81 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.711e-05/1.154, allocations: 11.91 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001207/1.154, allocations: 35.81 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.376e-05/1.154, allocations: 13.92 kB / 1.281 GB, free: 10.13 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.473e-05/1.154, allocations: 52.05 kB / 1.281 GB, free: 10.1 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000312/1.154, allocations: 125.7 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.154, allocations: 0 / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.795e-06/1.154, allocations: 0 / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.441e-05/1.154, allocations: 1.094 kB / 1.281 GB, free: 10.05 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009095/1.155, allocations: 424.6 kB / 1.282 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.13e-05/1.155, allocations: 9.562 kB / 1.282 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.955e-05/1.155, allocations: 1.375 kB / 1.282 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.141e-05/1.155, allocations: 34.45 kB / 1.282 GB, free: 9.598 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/1.156, allocations: 12.52 kB / 1.282 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/1.156, allocations: 177.6 kB / 1.282 GB, free: 9.387 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/1.156, allocations: 8.281 kB / 1.282 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/1.156, allocations: 8.5 kB / 1.282 GB, free: 9.383 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/1.156, allocations: 83.56 kB / 1.282 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/1.156, allocations: 0.5312 kB / 1.282 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/1.156, allocations: 1.391 kB / 1.282 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/1.156, allocations: 1.531 kB / 1.282 GB, free: 9.328 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002485/1.156, allocations: 50.05 kB / 1.282 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007588/1.157, allocations: 350.2 kB / 1.283 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/1.157, allocations: 57.38 kB / 1.283 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/1.157, allocations: 36.5 kB / 1.283 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/1.158, allocations: 1 kB / 1.283 GB, free: 8.949 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003438/1.158, allocations: 96.44 kB / 1.283 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.473e-06/1.158, allocations: 0 / 1.283 GB, free: 8.883 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.0005186/1.158, allocations: 150 kB / 1.283 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/1.158, allocations: 54.86 kB / 1.283 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/1.159, allocations: 125.3 kB / 1.283 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/1.159, allocations: 28.14 kB / 1.283 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.96e-05/1.159, allocations: 99.98 kB / 1.283 GB, free: 8.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/1.159, allocations: 19.41 kB / 1.283 GB, free: 8.504 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/1.159, allocations: 39.27 kB / 1.283 GB, free: 8.48 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001788/1.159, allocations: 323.5 kB / 1.284 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001861/1.159, allocations: 52.56 kB / 1.284 GB, free: 8.145 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002113/1.159, allocations: 89.81 kB / 1.284 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/1.16, allocations: 148.8 kB / 1.284 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/1.16, allocations: 4 kB / 1.284 GB, free: 7.969 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005235/1.16, allocations: 207.9 kB / 1.284 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.81e-05/1.16, allocations: 35.8 kB / 1.284 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/1.16, allocations: 2.438 kB / 1.284 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/1.16, allocations: 1.094 kB / 1.284 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001202/1.16, allocations: 18.86 kB / 1.284 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/1.16, allocations: 2.047 kB / 1.284 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/1.161, allocations: 50.61 kB / 1.284 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/1.161, allocations: 8.859 kB / 1.284 GB, free: 7.809 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (triSam1.y,$PRE.triSam1.y,triSam.y,$PRE.triSam.y,booPul.y,$PRE.booPul.y,$whenCondition3,$whenCondition1,$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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.00014/1.161, allocations: 117.7 kB / 1.284 GB, free: 7.691 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.166e-05/1.161, allocations: 8.547 kB / 1.284 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003905/1.161, allocations: 134.2 kB / 1.284 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/1.161, allocations: 9 kB / 1.284 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.161, allocations: 1.859 kB / 1.284 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/1.161, allocations: 3.938 kB / 1.284 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005897/1.162, allocations: 368.4 kB / 1.285 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/1.162, allocations: 0 / 1.285 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.644e-05/1.162, allocations: 9.688 kB / 1.285 GB, free: 7.277 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/1.162, allocations: 5.719 kB / 1.285 GB, free: 7.273 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/1.162, allocations: 5.312 kB / 1.285 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/1.162, allocations: 8.969 kB / 1.285 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.162, allocations: 0 / 1.285 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003782/1.162, allocations: 213.2 kB / 1.285 GB, free: 7.105 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.469e-05/1.162, allocations: 84.34 kB / 1.285 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.994e-05/1.162, allocations: 2.297 kB / 1.285 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.438e-05/1.163, allocations: 14.94 kB / 1.285 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.318e-05/1.163, allocations: 5.203 kB / 1.285 GB, free: 7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/1.163, allocations: 7.703 kB / 1.285 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.829e-05/1.163, allocations: 94.25 kB / 1.285 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.163, allocations: 0 / 1.285 GB, free: 6.914 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002866/1.163, allocations: 26.75 kB / 1.285 GB, free: 6.91 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 ($whenCondition3,$whenCondition1,$whenCondition2,booPul.y,triSam.y,triSam1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007851/1.164, allocations: 0.7491 MB / 1.286 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004511/1.164, allocations: 163.8 kB / 1.286 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/1.164, allocations: 1.312 kB / 1.286 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00016/1.164, allocations: 45.31 kB / 1.286 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/1.165, allocations: 15.8 kB / 1.286 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/1.167, allocations: 1.725 MB / 1.288 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003896/1.168, allocations: 0.6965 MB / 1.289 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.188e-05/1.168, allocations: 5.812 kB / 1.289 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.684e-05/1.168, allocations: 21.28 kB / 1.289 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.168, allocations: 0 / 1.289 GB, free: 3.93 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02027/1.188, allocations: 2.615 MB / 1.291 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.506/9.694, allocations: 9.641 kB / 1.291 GB, free: 3.457 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Discrete_Validation_TriggeredSampler.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Discrete.Validation.TriggeredSampler.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.93369818298379] Failed to read output from testmodel.py, exit status != 0: 9.823735824029427 9.849424678 8.690231277 Calling exit ...