Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_latest_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/Buildings 10.0.0-master/package.mo): time 2.297/2.297, allocations: 390.5 MB / 398 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001297, allocations: 179.6 kB / 491.2 MB, free: 1.59 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.597/1.597, allocations: 221.5 MB / 0.7868 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 87.95 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.6e-05/2.603e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3205, allocations: 143 MB / 1.212 GB, free: 39.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.986/1.307, allocations: 149.7 MB / 1.359 GB, free: 17.24 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/1.307, allocations: 71 kB / 1.359 GB, free: 17.24 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0063/1.313, allocations: 2.105 MB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.462e-06/1.313, allocations: 0 / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.333e-06/1.313, allocations: 0 / 1.361 GB, free: 32.83 MB / 0.8386 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.0004169/1.314, allocations: 406.5 kB / 1.361 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/1.314, allocations: 7.688 kB / 1.361 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.681e-05/1.314, allocations: 7.812 kB / 1.361 GB, free: 32.44 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.155e-05/1.314, allocations: 177.9 kB / 1.361 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/1.314, allocations: 0 / 1.361 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.084e-05/1.314, allocations: 10.77 kB / 1.361 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.993e-05/1.314, allocations: 19.31 kB / 1.361 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.37e-05/1.314, allocations: 50.25 kB / 1.361 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/1.314, allocations: 0 / 1.361 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.164e-05/1.314, allocations: 4 kB / 1.361 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/1.314, allocations: 0 / 1.361 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004237/1.315, allocations: 307.3 kB / 1.362 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.929e-05/1.315, allocations: 41.11 kB / 1.362 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.177e-05/1.315, allocations: 25.88 kB / 1.362 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/1.315, allocations: 3.719 kB / 1.362 GB, free: 31.92 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001263/1.315, allocations: 74.31 kB / 1.362 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.412e-06/1.315, allocations: 0 / 1.362 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001834/1.315, allocations: 80.38 kB / 1.362 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/1.315, allocations: 55.36 kB / 1.362 GB, free: 31.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.679e-05/1.315, allocations: 119 kB / 1.362 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.208e-05/1.315, allocations: 33.52 kB / 1.362 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.984e-05/1.315, allocations: 87.7 kB / 1.362 GB, free: 31.55 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/1.315, allocations: 21.94 kB / 1.362 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/1.315, allocations: 0 / 1.362 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.831e-05/1.315, allocations: 320.9 kB / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.577e-05/1.316, allocations: 32.47 kB / 1.363 GB, free: 31.23 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.649e-05/1.316, allocations: 70.39 kB / 1.363 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/1.316, allocations: 46.44 kB / 1.363 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/1.316, allocations: 0 / 1.363 GB, free: 31.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002979/1.316, allocations: 149.4 kB / 1.363 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/1.316, allocations: 41.02 kB / 1.363 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/1.316, allocations: 5.656 kB / 1.363 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/1.316, allocations: 3.844 kB / 1.363 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-05/1.316, allocations: 14.92 kB / 1.363 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/1.316, allocations: 3.75 kB / 1.363 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002016/1.316, allocations: 47.84 kB / 1.363 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/1.317, allocations: 11.11 kB / 1.363 GB, free: 31.1 MB / 0.8386 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 () * 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.761e-05/1.317, allocations: 113.4 kB / 1.363 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001143/1.317, allocations: 79.94 kB / 1.363 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.072e-05/1.317, allocations: 11.69 kB / 1.363 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.091e-05/1.317, allocations: 11.5 kB / 1.363 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/1.317, allocations: 0 / 1.363 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/1.317, allocations: 7.953 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.317, allocations: 3.422 kB / 1.363 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/1.317, allocations: 323.4 kB / 1.363 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/1.317, allocations: 2.625 kB / 1.363 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.349e-05/1.317, allocations: 11.11 kB / 1.363 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/1.317, allocations: 0 / 1.363 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/1.317, allocations: 0 / 1.363 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/1.317, allocations: 3.953 kB / 1.363 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/1.317, allocations: 9.344 kB / 1.363 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001477/1.317, allocations: 180.5 kB / 1.364 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/1.317, allocations: 81.02 kB / 1.364 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/1.317, allocations: 1.922 kB / 1.364 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.919e-05/1.317, allocations: 9.391 kB / 1.364 GB, free: 30.42 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.161e-05/1.318, allocations: 18.97 kB / 1.364 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/1.318, allocations: 7.938 kB / 1.364 GB, free: 30.4 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.366e-05/1.318, allocations: 89.28 kB / 1.364 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.7e-07/1.318, allocations: 0 / 1.364 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002652/1.318, allocations: 23.09 kB / 1.364 GB, free: 30.33 MB / 0.8386 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) * 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.0004316/1.318, allocations: 0.7144 MB / 1.365 GB, free: 29.67 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001943/1.319, allocations: 146.7 kB / 1.365 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/1.319, allocations: 0 / 1.365 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 4.588e-05/1.319, allocations: 28.44 kB / 1.365 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002117/1.319, allocations: 16.7 kB / 1.365 GB, free: 29.59 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/1.319, allocations: 134.7 kB / 1.365 GB, free: 29.47 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/1.319, allocations: 0.6968 MB / 1.366 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.774e-05/1.32, allocations: 8.438 kB / 1.366 GB, free: 28.77 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.325e-05/1.32, allocations: 24.61 kB / 1.366 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.32, allocations: 0 / 1.366 GB, free: 28.76 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/1.341, allocations: 1.838 MB / 1.367 GB, free: 28.64 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001539/1.341, allocations: 147.2 kB / 1.368 GB, free: 28.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.49/2.832, allocations: 3.938 kB / 1.368 GB, free: 28.45 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat does not exist to compare? outputFormat=mat