Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.001252/0.001252, allocations: 118.8 kB / 17.16 MB, free: 5.914 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.001348/0.001348, allocations: 206.2 kB / 20.13 MB, free: 2.969 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.526/1.526, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.915/2.915, allocations: 476.7 MB / 0.7678 GB, free: 9.418 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.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger",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.001983/0.001983, allocations: 71.89 kB / 1.113 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.016, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.002562/1.018, allocations: 0.7531 MB / 1.28 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002015/1.02, allocations: 1.111 MB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.12e-05/1.02, allocations: 5 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.89e-05/1.02, allocations: 5.656 kB / 1.281 GB, free: 10.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001011/1.02, allocations: 18.77 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/1.021, allocations: 47.59 kB / 1.281 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001859/1.021, allocations: 76.58 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001233/1.021, allocations: 12.7 kB / 1.281 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.497e-05/1.021, allocations: 28.09 kB / 1.281 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.047e-05/1.021, allocations: 36.34 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.072e-05/1.021, allocations: 6.531 kB / 1.281 GB, free: 10.31 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.29e-05/1.021, allocations: 19.72 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.866e-05/1.022, allocations: 13.72 kB / 1.281 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/1.022, allocations: 31.36 kB / 1.281 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002165/1.022, allocations: 84.61 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.83e-06/1.022, allocations: 0 / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.255e-06/1.022, allocations: 1.062 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.194e-06/1.022, allocations: 3.938 kB / 1.281 GB, free: 10.24 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000704/1.023, allocations: 375.3 kB / 1.282 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/1.023, allocations: 10.36 kB / 1.282 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.939e-05/1.023, allocations: 5.188 kB / 1.282 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.049e-05/1.023, allocations: 34.34 kB / 1.282 GB, free: 9.82 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.324e-05/1.023, allocations: 12.23 kB / 1.282 GB, free: 9.812 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/1.023, allocations: 176.9 kB / 1.282 GB, free: 9.605 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/1.023, allocations: 7.484 kB / 1.282 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.979e-05/1.023, allocations: 4.719 kB / 1.282 GB, free: 9.602 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/1.023, allocations: 75.34 kB / 1.282 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/1.023, allocations: 0 / 1.282 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.175e-05/1.023, allocations: 1.672 kB / 1.282 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/1.023, allocations: 5.109 kB / 1.282 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002014/1.023, allocations: 46.88 kB / 1.282 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008501/1.024, allocations: 323.3 kB / 1.282 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002211/1.024, allocations: 50.3 kB / 1.282 GB, free: 9.207 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/1.025, allocations: 31.14 kB / 1.282 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.285e-05/1.025, allocations: 5.812 kB / 1.282 GB, free: 9.188 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003113/1.025, allocations: 78.11 kB / 1.282 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/1.025, allocations: 0 / 1.282 GB, free: 9.129 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0005874/1.026, allocations: 132 kB / 1.282 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.87e-05/1.026, allocations: 56.94 kB / 1.283 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/1.026, allocations: 127.2 kB / 1.283 GB, free: 8.891 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.918e-05/1.026, allocations: 28.02 kB / 1.283 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001156/1.026, allocations: 95.89 kB / 1.283 GB, free: 8.766 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/1.026, allocations: 15.89 kB / 1.283 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.873e-05/1.026, allocations: 29.89 kB / 1.283 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001817/1.026, allocations: 323.7 kB / 1.283 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/1.026, allocations: 30.78 kB / 1.283 GB, free: 8.402 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/1.027, allocations: 71.2 kB / 1.283 GB, free: 8.34 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003039/1.027, allocations: 110.2 kB / 1.283 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.027, allocations: 1.062 kB / 1.283 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003885/1.027, allocations: 138.3 kB / 1.283 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/1.027, allocations: 6.562 kB / 1.283 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.027, allocations: 5.984 kB / 1.283 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/1.027, allocations: 2.281 kB / 1.283 GB, free: 8.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/1.027, allocations: 21.3 kB / 1.283 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/1.027, allocations: 3.125 kB / 1.283 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001095/1.028, allocations: 12.03 kB / 1.283 GB, free: 8.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/1.028, allocations: 8.938 kB / 1.284 GB, free: 8.172 MB / 0.9981 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.0001476/1.028, allocations: 131 kB / 1.284 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/1.028, allocations: 6.828 kB / 1.284 GB, free: 8.039 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/1.028, allocations: 6.266 kB / 1.284 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/1.028, allocations: 1.969 kB / 1.284 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/1.028, allocations: 1.344 kB / 1.284 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.028, allocations: 0.75 kB / 1.284 GB, free: 8.031 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006331/1.028, allocations: 383.4 kB / 1.284 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.028, allocations: 0 / 1.284 GB, free: 7.688 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.488e-05/1.028, allocations: 13.3 kB / 1.284 GB, free: 7.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/1.028, allocations: 3.938 kB / 1.284 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/1.028, allocations: 6.125 kB / 1.284 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/1.028, allocations: 1.5 kB / 1.284 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/1.028, allocations: 0 / 1.284 GB, free: 7.676 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/1.029, allocations: 199.7 kB / 1.284 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.521e-05/1.029, allocations: 79.22 kB / 1.284 GB, free: 7.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/1.029, allocations: 5.672 kB / 1.284 GB, free: 7.426 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.817e-05/1.029, allocations: 10.2 kB / 1.284 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.906e-05/1.029, allocations: 4.578 kB / 1.284 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.796e-06/1.029, allocations: 3.625 kB / 1.284 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.353e-05/1.029, allocations: 95.88 kB / 1.284 GB, free: 7.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.029, allocations: 4 kB / 1.284 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002857/1.029, allocations: 26.22 kB / 1.284 GB, free: 7.324 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 (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.0007616/1.03, allocations: 0.7335 MB / 1.285 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003206/1.031, allocations: 80.38 kB / 1.285 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/1.031, allocations: 0 / 1.285 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/1.031, allocations: 37.62 kB / 1.285 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/1.031, allocations: 6.969 kB / 1.285 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002252/1.033, allocations: 1.528 MB / 1.287 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000438/1.034, allocations: 0.6934 MB / 1.287 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.764e-05/1.034, allocations: 9.859 kB / 1.287 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.129e-05/1.034, allocations: 21.86 kB / 1.287 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/1.034, allocations: 0 / 1.287 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02106/1.055, allocations: 2.169 MB / 1.29 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.377/9.432, allocations: 12.86 kB / 1.29 GB, free: 4.078 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Sources_Validation_SampleTrigger.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.913799181987997] Failed to read output from testmodel.py, exit status != 0: 9.5568735699635 9.579224242 8.553623132 Calling exit ...