Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",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.446/2.446, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001739/0.001739, allocations: 188 kB / 0.4901 GB, free: 2.273 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.559/1.559, allocations: 223.1 MB / 0.7992 GB, free: 14.74 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.0008633/0.0008633, allocations: 114.6 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003672/0.0003672, allocations: 17.7 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/0.3001, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1903/0.4905, allocations: 150.4 MB / 1.376 GB, free: 3.055 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.4908, allocations: 71.95 kB / 1.376 GB, free: 2.984 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00633/0.4972, allocations: 2.103 MB / 1.378 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.074e-06/0.4972, allocations: 0 / 1.378 GB, free: 0.8789 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.4972, allocations: 4 kB / 1.378 GB, free: 0.875 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005352/0.4978, allocations: 408.9 kB / 1.379 GB, free: 432 kB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/0.4978, allocations: 15.97 kB / 1.379 GB, free: 416 kB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.4979, allocations: 30.56 kB / 1.379 GB, free: 376 kB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.4979, allocations: 11.91 kB / 1.379 GB, free: 364 kB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000128/0.4981, allocations: 174.9 kB / 1.379 GB, free: 148 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.4981, allocations: 8 kB / 1.379 GB, free: 140 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.4981, allocations: 11.98 kB / 1.379 GB, free: 128 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.4983, allocations: 65.66 kB / 1.379 GB, free: 56 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.4983, allocations: 0 / 1.379 GB, free: 56 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.4983, allocations: 0 / 1.379 GB, free: 56 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.4984, allocations: 4 kB / 1.379 GB, free: 52 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002151/0.4986, allocations: 63.88 kB / 1.379 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005482/0.4991, allocations: 328.7 kB / 1.379 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.4993, allocations: 62.61 kB / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/0.4994, allocations: 0 / 1.379 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.4996, allocations: 95.42 kB / 1.38 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=8): time 1.633e-06/0.4996, allocations: 0 / 1.38 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of matching and sorting (n=8): time 0.000461/0.5001, allocations: 161.5 kB / 1.38 GB, free: 15.28 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.227e-05/0.5001, allocations: 63.44 kB / 1.38 GB, free: 15.2 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.075e-05/0.5002, allocations: 105 kB / 1.38 GB, free: 15.09 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.193e-05/0.5003, allocations: 29.7 kB / 1.38 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 6.42e-05/0.5003, allocations: 96.06 kB / 1.38 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.5004, allocations: 31.58 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.347e-05/0.5004, allocations: 4 kB / 1.38 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.5005, allocations: 314.8 kB / 1.38 GB, free: 14.61 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/0.5007, allocations: 59.95 kB / 1.38 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.5009, allocations: 88.25 kB / 1.38 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.5011, allocations: 85.67 kB / 1.381 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.5011, allocations: 4 kB / 1.381 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004603/0.5016, allocations: 215.2 kB / 1.381 GB, free: 14.13 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 3.983e-05/0.5016, allocations: 33.7 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.5016, allocations: 0 / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.5016, allocations: 4.062 kB / 1.381 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001054/0.5018, allocations: 23.98 kB / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.5018, allocations: 0 / 1.381 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.502, allocations: 55.94 kB / 1.381 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.502, allocations: 8 kB / 1.381 GB, free: 14 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,$PRE.edge1.u,edge1.u,edge1.y) * 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.0001021/0.5021, allocations: 126.3 kB / 1.381 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.537e-05/0.5022, allocations: 7.906 kB / 1.381 GB, free: 13.86 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.192e-05/0.5022, allocations: 12.36 kB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5022, allocations: 4 kB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.5022, allocations: 3.938 kB / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5022, allocations: 0 / 1.381 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000468/0.5027, allocations: 386.4 kB / 1.381 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5027, allocations: 4 kB / 1.381 GB, free: 13.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.94e-05/0.5028, allocations: 8 kB / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.5028, allocations: 0 / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.222e-05/0.5028, allocations: 3.984 kB / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5028, allocations: 0 / 1.381 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.5028, allocations: 3.953 kB / 1.381 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.5031, allocations: 223.4 kB / 1.382 GB, free: 13.15 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 3.491e-05/0.5032, allocations: 81.05 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.012e-05/0.5032, allocations: 4 kB / 1.382 GB, free: 13.05 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-05/0.5033, allocations: 11.98 kB / 1.382 GB, free: 13.04 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.427e-05/0.5034, allocations: 11.94 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.5034, allocations: 8 kB / 1.382 GB, free: 13.02 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.326e-05/0.5034, allocations: 91.81 kB / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5034, allocations: 0 / 1.382 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002565/0.5037, allocations: 20 kB / 1.382 GB, free: 12.91 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0006088/0.5043, allocations: 0.7634 MB / 1.383 GB, free: 12.12 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003829/0.5047, allocations: 187.3 kB / 1.383 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.5047, allocations: 3.938 kB / 1.383 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.5049, allocations: 47.91 kB / 1.383 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001985/0.5051, allocations: 24.17 kB / 1.383 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008711/0.506, allocations: 1.007 MB / 1.384 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.5062, allocations: 0.6965 MB / 1.384 GB, free: 10.05 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.2e-05/0.5063, allocations: 11.77 kB / 1.385 GB, free: 10.04 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.5063, allocations: 15.44 kB / 1.385 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of SimCode: time 5.41e-07/0.5063, allocations: 4 kB / 1.385 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01333/0.5196, allocations: 2.173 MB / 1.387 GB, free: 7.977 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/0.5199, allocations: 189 kB / 1.387 GB, free: 7.734 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/2.069, allocations: 1 kB / 1.387 GB, free: 7.734 MB / 0.8855 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat does not exist to compare? outputFormat=mat