Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|edge1.u|edge1.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.25/2.25, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001137/0.001137, allocations: 183.3 kB / 498.1 MB, free: 5.66 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.652/1.652, allocations: 223.2 MB / 0.7948 GB, free: 18.86 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.0009995/0.0009995, allocations: 103.8 kB / 0.9346 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003554, allocations: 14.06 kB / 1.084 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3372/0.3376, allocations: 142.3 MB / 1.223 GB, free: 89.54 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2047/0.5423, allocations: 149.6 MB / 1.369 GB, free: 3.699 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002153/0.5426, allocations: 75.89 kB / 1.369 GB, free: 3.625 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006315/0.5489, allocations: 2.103 MB / 1.371 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5489, allocations: 0 / 1.371 GB, free: 1.516 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.5489, allocations: 0 / 1.371 GB, free: 1.516 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.0005364/0.5495, allocations: 416.7 kB / 1.372 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/0.5495, allocations: 8.031 kB / 1.372 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.675e-05/0.5496, allocations: 8 kB / 1.372 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.5497, allocations: 170.9 kB / 1.372 GB, free: 0.832 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.5498, allocations: 4 kB / 1.372 GB, free: 0.8281 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.876e-05/0.5498, allocations: 15.98 kB / 1.372 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.55, allocations: 69.64 kB / 1.372 GB, free: 0.7383 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.55, allocations: 4 kB / 1.372 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.55, allocations: 4 kB / 1.372 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.399e-06/0.55, allocations: 0 / 1.372 GB, free: 0.7305 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001858/0.5502, allocations: 47.95 kB / 1.372 GB, free: 0.6836 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.5508, allocations: 340.6 kB / 1.372 GB, free: 308 kB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.551, allocations: 62.61 kB / 1.372 GB, free: 236 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.551, allocations: 0 / 1.372 GB, free: 236 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002523/0.5512, allocations: 99.42 kB / 1.372 GB, free: 124 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.5512, allocations: 0 / 1.372 GB, free: 124 kB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0004731/0.5518, allocations: 157.6 kB / 1.372 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.429e-05/0.5518, allocations: 59.36 kB / 1.373 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.432e-05/0.5519, allocations: 109 kB / 1.373 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.552, allocations: 33.69 kB / 1.373 GB, free: 15.74 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 8.218e-05/0.5521, allocations: 99.98 kB / 1.373 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.5521, allocations: 7.812 kB / 1.373 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.397e-05/0.5521, allocations: 12 kB / 1.373 GB, free: 15.62 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.5522, allocations: 318.8 kB / 1.373 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001661/0.5524, allocations: 51.97 kB / 1.373 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001975/0.5526, allocations: 99.81 kB / 1.373 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.5528, allocations: 85.67 kB / 1.373 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5528, allocations: 0 / 1.373 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004715/0.5533, allocations: 227.1 kB / 1.374 GB, free: 14.81 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/0.5534, allocations: 35.09 kB / 1.374 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.5534, allocations: 7.938 kB / 1.374 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.5534, allocations: 0 / 1.374 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.5535, allocations: 16.12 kB / 1.374 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.79e-05/0.5535, allocations: 3.984 kB / 1.374 GB, free: 14.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.5538, allocations: 47.92 kB / 1.374 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.5538, allocations: 11.98 kB / 1.374 GB, free: 14.69 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.0001046/0.5539, allocations: 127.5 kB / 1.374 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.439e-05/0.5539, allocations: 3.906 kB / 1.374 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.516e-05/0.554, allocations: 12.38 kB / 1.374 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.554, allocations: 0 / 1.374 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.554, allocations: 0 / 1.374 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.554, allocations: 0 / 1.374 GB, free: 14.54 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005113/0.5545, allocations: 386.5 kB / 1.374 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5545, allocations: 0 / 1.374 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.284e-05/0.5546, allocations: 19.92 kB / 1.374 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.5546, allocations: 0 / 1.374 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.003e-05/0.5546, allocations: 0 / 1.374 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.5546, allocations: 4 kB / 1.374 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5546, allocations: 7.953 kB / 1.374 GB, free: 14.07 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003128/0.555, allocations: 211.4 kB / 1.374 GB, free: 13.85 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 5.983e-05/0.555, allocations: 89.02 kB / 1.374 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.5551, allocations: 7.984 kB / 1.374 GB, free: 13.74 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.073e-05/0.5552, allocations: 8 kB / 1.374 GB, free: 13.73 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.5552, allocations: 7.922 kB / 1.375 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.2e-05/0.5552, allocations: 7.953 kB / 1.375 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 9.233e-05/0.5553, allocations: 95.75 kB / 1.375 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.865e-06/0.5553, allocations: 0 / 1.375 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002635/0.5556, allocations: 35.88 kB / 1.375 GB, free: 13.59 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.0001909/0.5558, allocations: 115 kB / 1.375 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0004142/0.5562, allocations: 187.4 kB / 1.375 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.5562, allocations: 256 / 1.375 GB, free: 13.27 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001346/0.5564, allocations: 52.42 kB / 1.375 GB, free: 13.22 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001982/0.5566, allocations: 8 kB / 1.375 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.557, allocations: 183.2 kB / 1.375 GB, free: 13 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002744/0.5573, allocations: 0.6887 MB / 1.376 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.662e-05/0.5573, allocations: 7.781 kB / 1.376 GB, free: 12.28 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.034e-05/0.5573, allocations: 19.36 kB / 1.376 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of SimCode: time 5.11e-07/0.5573, allocations: 0 / 1.376 GB, free: 12.26 MB / 0.8855 GB Notification: Performance of Templates: time 0.003755/0.5611, allocations: 1.257 MB / 1.377 GB, free: 11.02 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Edge.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches