Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009243/0.0009243, allocations: 100 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009128/0.000913, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.412/1.412, allocations: 223.2 MB / 239.9 MB, free: 5.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.439/2.439, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.000381, allocations: 15.98 kB / 0.8146 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7818/0.7822, allocations: 142.3 MB / 0.9536 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.0008842/0.7832, allocations: 467.9 kB / 0.9541 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00121/0.7844, allocations: 1.108 MB / 0.9551 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.166e-05/0.7844, allocations: 5.375 kB / 0.9551 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.7845, allocations: 3.938 kB / 0.9551 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.111e-05/0.7845, allocations: 13.38 kB / 0.9552 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004174/0.785, allocations: 110.8 kB / 0.9553 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001028/0.7851, allocations: 59.11 kB / 0.9553 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.7852, allocations: 14.73 kB / 0.9553 GB, free: 6.742 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.128e-05/0.7853, allocations: 43.77 kB / 0.9554 GB, free: 6.719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.034e-05/0.7854, allocations: 36.8 kB / 0.9554 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.7854, allocations: 5.875 kB / 0.9554 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.081e-05/0.7855, allocations: 18.73 kB / 0.9554 GB, free: 6.684 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.984e-05/0.7855, allocations: 7.594 kB / 0.9554 GB, free: 6.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.064e-05/0.7856, allocations: 37.39 kB / 0.9555 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001471/0.7857, allocations: 78.06 kB / 0.9556 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.7857, allocations: 0 / 0.9556 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.106e-06/0.7857, allocations: 0 / 0.9556 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.7858, allocations: 0 / 0.9556 GB, free: 6.586 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004869/0.7862, allocations: 407.1 kB / 0.9559 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.7863, allocations: 9.938 kB / 0.956 GB, free: 6.164 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.977e-05/0.7863, allocations: 35.97 kB / 0.956 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.111e-05/0.7864, allocations: 13.36 kB / 0.956 GB, free: 6.113 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.786e-05/0.7865, allocations: 166.5 kB / 0.9562 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.7865, allocations: 3.188 kB / 0.9562 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.365e-05/0.7865, allocations: 11.14 kB / 0.9562 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.7867, allocations: 73.09 kB / 0.9562 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.7867, allocations: 3.938 kB / 0.9562 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.289e-05/0.7867, allocations: 9.266 kB / 0.9563 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.7868, allocations: 9.297 kB / 0.9563 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.7869, allocations: 53.08 kB / 0.9563 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004577/0.7874, allocations: 334.9 kB / 0.9566 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001746/0.7876, allocations: 67.23 kB / 0.9567 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.7876, allocations: 1.031 kB / 0.9567 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/0.7879, allocations: 92.41 kB / 0.9568 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.7879, allocations: 0 / 0.9568 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0004692/0.7884, allocations: 165.8 kB / 0.9569 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.7884, allocations: 54.09 kB / 0.957 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.657e-05/0.7885, allocations: 121.8 kB / 0.9571 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.7885, allocations: 29.52 kB / 0.9571 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/0.7885, allocations: 87.05 kB / 0.9572 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.909e-05/0.7886, allocations: 19 kB / 0.9572 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.324e-05/0.7886, allocations: 9.969 kB / 0.9572 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.789e-05/0.7887, allocations: 316.6 kB / 0.9576 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001617/0.7888, allocations: 60.27 kB / 0.9576 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001595/0.789, allocations: 96.56 kB / 0.9577 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001645/0.7892, allocations: 83.66 kB / 0.9578 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.7892, allocations: 0 / 0.9578 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004206/0.7896, allocations: 226.7 kB / 0.958 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.456e-05/0.7896, allocations: 45.86 kB / 0.958 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.7897, allocations: 1.094 kB / 0.958 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.7897, allocations: 2.031 kB / 0.958 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.7898, allocations: 18.2 kB / 0.9581 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.7898, allocations: 2.125 kB / 0.9581 GB, free: 4.277 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002301/0.79, allocations: 55.33 kB / 0.9581 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.79, allocations: 6.5 kB / 0.9581 GB, free: 4.254 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.786e-05/0.7901, allocations: 117.5 kB / 0.9582 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.484e-05/0.7902, allocations: 11.2 kB / 0.9582 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.675e-05/0.7902, allocations: 17.38 kB / 0.9583 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.7902, allocations: 1.156 kB / 0.9583 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.7902, allocations: 4 kB / 0.9583 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.7902, allocations: 1.062 kB / 0.9583 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004051/0.7906, allocations: 389.8 kB / 0.9586 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.175e-06/0.7906, allocations: 4 kB / 0.9586 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.661e-05/0.7907, allocations: 15.48 kB / 0.9587 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7907, allocations: 1.469 kB / 0.9587 GB, free: 3.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.7907, allocations: 5.422 kB / 0.9587 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7907, allocations: 0 / 0.9587 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7907, allocations: 0 / 0.9587 GB, free: 3.727 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.791, allocations: 218 kB / 0.9589 GB, free: 3.555 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.268e-05/0.791, allocations: 80.73 kB / 0.9589 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.791, allocations: 11.89 kB / 0.959 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.503e-05/0.7911, allocations: 9.922 kB / 0.959 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.7912, allocations: 7.297 kB / 0.959 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.7912, allocations: 2.938 kB / 0.959 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.526e-05/0.7912, allocations: 103.8 kB / 0.9591 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.7912, allocations: 0 / 0.9591 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002585/0.7915, allocations: 27.94 kB / 0.9591 GB, free: 3.34 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004765/0.792, allocations: 0.7564 MB / 0.9598 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003639/0.7924, allocations: 187.8 kB / 0.96 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.7924, allocations: 1.219 kB / 0.96 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.7925, allocations: 44.44 kB / 0.9601 GB, free: 2.496 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001957/0.7927, allocations: 19.33 kB / 0.9601 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005881/0.7933, allocations: 1 MB / 0.9611 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.7934, allocations: 0.6904 MB / 0.9617 GB, free: 0.7695 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.317e-05/0.7935, allocations: 11.89 kB / 0.9617 GB, free: 0.7617 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.7935, allocations: 18.19 kB / 0.9618 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.7935, allocations: 5.375 kB / 0.9618 GB, free: 0.7422 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01268/0.8062, allocations: 2.195 MB / 0.9639 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001718/0.8064, allocations: 188.3 kB / 0.9641 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/2.464, allocations: 0 / 0.9641 GB, free: 15.46 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat does not exist to compare? outputFormat=mat