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.4/2.4, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001427/0.001427, allocations: 183.2 kB / 0.4901 GB, free: 2.262 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.669/1.669, allocations: 223.1 MB / 0.7992 GB, free: 14.71 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.000913/0.000913, allocations: 102.9 kB / 0.9396 GB, free: 1.902 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.000373, allocations: 10.38 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2954/0.2958, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1854/0.4812, allocations: 150.4 MB / 1.376 GB, free: 2.98 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.4816, allocations: 79.95 kB / 1.376 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006608/0.4882, allocations: 2.107 MB / 1.378 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.23e-06/0.4883, allocations: 0 / 1.378 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.4883, allocations: 7.938 kB / 1.378 GB, free: 0.7852 MB / 0.8698 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.0006192/0.4889, allocations: 408.9 kB / 1.379 GB, free: 340 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.489, allocations: 16.56 kB / 1.379 GB, free: 324 kB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.582e-05/0.489, allocations: 30.56 kB / 1.379 GB, free: 284 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.828e-05/0.4891, allocations: 15.84 kB / 1.379 GB, free: 268 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001352/0.4892, allocations: 171 kB / 1.379 GB, free: 56 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.927e-05/0.4892, allocations: 4 kB / 1.379 GB, free: 52 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.127e-05/0.4893, allocations: 8 kB / 1.379 GB, free: 44 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.4895, allocations: 73.69 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4895, allocations: 4 kB / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.4896, allocations: 0 / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.4896, allocations: 0 / 1.379 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002076/0.4898, allocations: 59.84 kB / 1.379 GB, free: 15.9 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.4904, allocations: 344.7 kB / 1.379 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.4906, allocations: 66.55 kB / 1.379 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.4906, allocations: 0 / 1.379 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002647/0.4909, allocations: 95.48 kB / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.733e-06/0.4909, allocations: 0 / 1.38 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.0004808/0.4914, allocations: 161.5 kB / 1.38 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.592e-05/0.4914, allocations: 63.34 kB / 1.38 GB, free: 15.1 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.223e-05/0.4915, allocations: 109 kB / 1.38 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.364e-05/0.4916, allocations: 33.7 kB / 1.38 GB, free: 14.95 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.76e-05/0.4916, allocations: 96.03 kB / 1.38 GB, free: 14.85 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.4917, allocations: 23.73 kB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.457e-05/0.4917, allocations: 4 kB / 1.38 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4918, allocations: 314.8 kB / 1.38 GB, free: 14.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.492, allocations: 59.95 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.4923, allocations: 88.25 kB / 1.38 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.4925, allocations: 85.67 kB / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4925, allocations: 0 / 1.381 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004877/0.493, allocations: 219.1 kB / 1.381 GB, free: 14.03 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.584e-05/0.4931, allocations: 37.69 kB / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.4931, allocations: 0 / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.4931, allocations: 0 / 1.381 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001069/0.4932, allocations: 24.11 kB / 1.381 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.4932, allocations: 7.891 kB / 1.381 GB, free: 13.95 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.4935, allocations: 43.95 kB / 1.381 GB, free: 13.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.594e-05/0.4935, allocations: 8 kB / 1.381 GB, free: 13.9 MB / 0.8855 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 0.0001175/0.4936, allocations: 126.7 kB / 1.381 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.83e-05/0.4936, allocations: 7.906 kB / 1.381 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.803e-05/0.4937, allocations: 12.36 kB / 1.381 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.4937, allocations: 0 / 1.381 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.4937, allocations: 0 / 1.381 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.4937, allocations: 7.891 kB / 1.381 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/0.4942, allocations: 386.5 kB / 1.381 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.4942, allocations: 0 / 1.381 GB, free: 13.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.4943, allocations: 8 kB / 1.381 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.4943, allocations: 0 / 1.381 GB, free: 13.29 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.4943, allocations: 11.98 kB / 1.381 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.4944, allocations: 3.953 kB / 1.381 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4944, allocations: 0 / 1.381 GB, free: 13.28 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.4947, allocations: 223.3 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.4947, allocations: 85.02 kB / 1.382 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.4948, allocations: 0 / 1.382 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-05/0.4949, allocations: 11.98 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.4949, allocations: 15.94 kB / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.4949, allocations: 0 / 1.382 GB, free: 12.91 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.052e-05/0.495, allocations: 95.75 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.495, allocations: 4 kB / 1.382 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002721/0.4953, allocations: 28 kB / 1.382 GB, free: 12.79 MB / 0.8855 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.0006908/0.496, allocations: 0.7721 MB / 1.383 GB, free: 11.99 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004175/0.4964, allocations: 183.3 kB / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.4964, allocations: 0 / 1.383 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.4966, allocations: 44.22 kB / 1.383 GB, free: 11.76 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.4968, allocations: 19.94 kB / 1.383 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009455/0.4977, allocations: 1.01 MB / 1.384 GB, free: 10.66 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.4981, allocations: 0.6965 MB / 1.385 GB, free: 9.938 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.393e-05/0.4981, allocations: 11.77 kB / 1.385 GB, free: 9.926 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.4982, allocations: 19.44 kB / 1.385 GB, free: 9.906 MB / 0.8855 GB Notification: Performance of SimCode: time 5.61e-07/0.4982, allocations: 0 / 1.385 GB, free: 9.906 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01455/0.5128, allocations: 2.193 MB / 1.387 GB, free: 7.871 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002321/0.513, allocations: 188.5 kB / 1.387 GB, free: 7.633 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.539/2.052, allocations: 0 / 1.387 GB, free: 7.633 MB / 0.8855 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