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.453/2.453, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001205/0.001205, allocations: 172.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 221.3 MB / 0.7915 GB, free: 5.379 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.0009832/0.0009832, allocations: 83.97 kB / 0.9317 GB, free: 5.695 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.377e-05, allocations: 5.484 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2916/0.2916, allocations: 143 MB / 1.219 GB, free: 13.38 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9651/1.257, allocations: 150.4 MB / 1.366 GB, free: 3.633 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002124/1.257, allocations: 74.27 kB / 1.366 GB, free: 3.594 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006204/1.263, allocations: 2.117 MB / 1.368 GB, free: 1.75 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.743e-06/1.263, allocations: 0 / 1.368 GB, free: 1.75 MB / 0.823 GB Notification: Performance of Transformations before backend: time 6.322e-06/1.263, allocations: 0 / 1.368 GB, free: 1.75 MB / 0.823 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.0004917/1.264, allocations: 399.3 kB / 1.368 GB, free: 1.316 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.304e-05/1.264, allocations: 8.031 kB / 1.368 GB, free: 1.309 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.022e-05/1.264, allocations: 37.75 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.049e-05/1.264, allocations: 11.95 kB / 1.368 GB, free: 1.254 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/1.264, allocations: 175.8 kB / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/1.264, allocations: 0 / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/1.264, allocations: 11.5 kB / 1.368 GB, free: 1.035 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001312/1.264, allocations: 51.98 kB / 1.369 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/1.264, allocations: 0 / 1.369 GB, free: 0.9844 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/1.264, allocations: 4 kB / 1.369 GB, free: 0.9805 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/1.264, allocations: 4 kB / 1.369 GB, free: 0.9766 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.527e-05/1.264, allocations: 25.92 kB / 1.369 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/1.265, allocations: 339 kB / 1.369 GB, free: 0.6133 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/1.265, allocations: 37.89 kB / 1.369 GB, free: 0.5742 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.859e-05/1.265, allocations: 23.92 kB / 1.369 GB, free: 0.5547 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/1.265, allocations: 7.938 kB / 1.369 GB, free: 0.5469 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/1.265, allocations: 70.56 kB / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/1.265, allocations: 0 / 1.369 GB, free: 484 kB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.000211/1.265, allocations: 96.11 kB / 1.369 GB, free: 396 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/1.265, allocations: 51.41 kB / 1.369 GB, free: 332 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/1.266, allocations: 125.3 kB / 1.369 GB, free: 208 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/1.266, allocations: 33.33 kB / 1.369 GB, free: 172 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/1.266, allocations: 92.02 kB / 1.369 GB, free: 80 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 3.235e-05/1.266, allocations: 19.05 kB / 1.369 GB, free: 64 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.085e-05/1.266, allocations: 3.938 kB / 1.369 GB, free: 60 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.266, allocations: 322.1 kB / 1.37 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/1.266, allocations: 38.81 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/1.266, allocations: 74.78 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/1.266, allocations: 60.75 kB / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/1.266, allocations: 4 kB / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002968/1.266, allocations: 185.7 kB / 1.37 GB, free: 15.42 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/1.267, allocations: 37.2 kB / 1.37 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/1.267, allocations: 8.125 kB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/1.267, allocations: 0 / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/1.267, allocations: 19.94 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/1.267, allocations: 0 / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002167/1.267, allocations: 47.95 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/1.267, allocations: 11.94 kB / 1.37 GB, free: 15.3 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 8.71e-05/1.267, allocations: 117.8 kB / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.539e-05/1.267, allocations: 7.906 kB / 1.37 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.374e-05/1.267, allocations: 8.609 kB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/1.267, allocations: 4 kB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.267, allocations: 3.953 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/1.267, allocations: 0 / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003715/1.268, allocations: 353.4 kB / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/1.268, allocations: 0 / 1.371 GB, free: 14.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.816e-05/1.268, allocations: 15.86 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/1.268, allocations: 0 / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/1.268, allocations: 7.953 kB / 1.371 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/1.268, allocations: 0.6875 kB / 1.371 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.268, allocations: 3.984 kB / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/1.268, allocations: 177.9 kB / 1.371 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/1.268, allocations: 89 kB / 1.371 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.865e-05/1.268, allocations: 7.922 kB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.446e-05/1.268, allocations: 14.58 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.348e-05/1.268, allocations: 15.92 kB / 1.371 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/1.268, allocations: 0 / 1.371 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.127e-05/1.268, allocations: 97.84 kB / 1.371 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.268, allocations: 4 kB / 1.371 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002305/1.268, allocations: 23.44 kB / 1.371 GB, free: 14.32 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.0005081/1.269, allocations: 0.7201 MB / 1.372 GB, free: 13.59 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002562/1.269, allocations: 154.3 kB / 1.372 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/1.269, allocations: 3.938 kB / 1.372 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.547e-05/1.269, allocations: 34.73 kB / 1.372 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/1.269, allocations: 11.38 kB / 1.372 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004039/1.27, allocations: 149.9 kB / 1.372 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002629/1.27, allocations: 0.6928 MB / 1.373 GB, free: 12.54 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.499e-05/1.27, allocations: 11.78 kB / 1.373 GB, free: 12.52 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.223e-05/1.27, allocations: 23.05 kB / 1.373 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of SimCode: time 1.552e-06/1.27, allocations: 0 / 1.373 GB, free: 12.51 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01537/1.286, allocations: 2.209 MB / 1.375 GB, free: 10.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003438/1.286, allocations: 168.4 kB / 1.375 GB, free: 10.22 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.47/2.756, allocations: 0 / 1.375 GB, free: 10.22 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