Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falEdg.u|falEdg.y|triggeredSampler.u|triggeredSampler.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.221/2.221, allocations: 390.3 MB / 405.3 MB, free: 13.53 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.001055/0.001055, allocations: 170.7 kB / 498.1 MB, free: 5.762 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.522/1.522, allocations: 223.2 MB / 0.7949 GB, free: 17.84 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.0008837/0.0008836, allocations: 96.2 kB / 0.9346 GB, free: 6.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004427, allocations: 10.34 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3757, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1911/0.5668, allocations: 149.6 MB / 1.369 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.5671, allocations: 79.88 kB / 1.369 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.006284/0.5734, allocations: 2.123 MB / 1.371 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.917e-06/0.5735, allocations: 4 kB / 1.371 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.5735, allocations: 0 / 1.371 GB, free: 10.18 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.0005297/0.574, allocations: 408.8 kB / 1.372 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/0.5741, allocations: 12.03 kB / 1.372 GB, free: 9.719 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.928e-05/0.5741, allocations: 4 kB / 1.372 GB, free: 9.715 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.5743, allocations: 174.9 kB / 1.372 GB, free: 9.504 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.5743, allocations: 4 kB / 1.372 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.775e-05/0.5743, allocations: 15.86 kB / 1.372 GB, free: 9.484 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.5745, allocations: 65.67 kB / 1.372 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.5746, allocations: 0 / 1.372 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.884e-05/0.5746, allocations: 15.98 kB / 1.372 GB, free: 9.398 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.5746, allocations: 0 / 1.372 GB, free: 9.398 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.5748, allocations: 51.94 kB / 1.372 GB, free: 9.348 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005377/0.5753, allocations: 340.7 kB / 1.372 GB, free: 8.965 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.5755, allocations: 62.61 kB / 1.372 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/0.5755, allocations: 0 / 1.372 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002724/0.5758, allocations: 95.55 kB / 1.372 GB, free: 8.789 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=8): time 1.322e-06/0.5758, allocations: 0 / 1.372 GB, free: 8.789 MB / 0.8698 GB Notification: Performance of matching and sorting (n=8): time 0.0004577/0.5763, allocations: 161.4 kB / 1.373 GB, free: 8.625 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.5764, allocations: 59.41 kB / 1.373 GB, free: 8.555 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.09e-05/0.5764, allocations: 112.9 kB / 1.373 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/0.5765, allocations: 29.7 kB / 1.373 GB, free: 8.402 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.64e-05/0.5766, allocations: 96.03 kB / 1.373 GB, free: 8.305 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.5766, allocations: 19.8 kB / 1.373 GB, free: 8.285 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.265e-05/0.5766, allocations: 8 kB / 1.373 GB, free: 8.277 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5768, allocations: 318.8 kB / 1.373 GB, free: 7.957 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001694/0.5769, allocations: 51.97 kB / 1.373 GB, free: 7.906 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.5771, allocations: 92.25 kB / 1.373 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001767/0.5773, allocations: 89.61 kB / 1.373 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5773, allocations: 0 / 1.373 GB, free: 7.707 MB / 0.8698 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004462/0.5778, allocations: 215.2 kB / 1.374 GB, free: 7.484 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.966e-05/0.5778, allocations: 38.95 kB / 1.374 GB, free: 7.441 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5778, allocations: 4 kB / 1.374 GB, free: 7.438 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.5779, allocations: 0 / 1.374 GB, free: 7.438 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.578, allocations: 28.03 kB / 1.374 GB, free: 7.41 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.578, allocations: 3.953 kB / 1.374 GB, free: 7.406 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000213/0.5782, allocations: 43.95 kB / 1.374 GB, free: 7.363 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.348e-05/0.5782, allocations: 19.88 kB / 1.374 GB, free: 7.344 MB / 0.8698 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.0001174/0.5784, allocations: 125.8 kB / 1.374 GB, free: 7.211 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.5784, allocations: 3.906 kB / 1.374 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.5784, allocations: 16.31 kB / 1.374 GB, free: 7.191 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.5784, allocations: 0 / 1.374 GB, free: 7.191 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.5784, allocations: 0 / 1.374 GB, free: 7.191 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.5784, allocations: 3.953 kB / 1.374 GB, free: 7.188 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004857/0.5789, allocations: 382.5 kB / 1.374 GB, free: 6.758 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.5789, allocations: 0 / 1.374 GB, free: 6.758 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.091e-05/0.579, allocations: 15.92 kB / 1.374 GB, free: 6.742 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.579, allocations: 0 / 1.374 GB, free: 6.742 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.579, allocations: 4.062 kB / 1.374 GB, free: 6.738 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/0.5791, allocations: 11.95 kB / 1.374 GB, free: 6.727 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5791, allocations: 0 / 1.374 GB, free: 6.727 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.5794, allocations: 215.4 kB / 1.374 GB, free: 6.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.273e-05/0.5794, allocations: 89.02 kB / 1.375 GB, free: 6.395 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.5794, allocations: 3.984 kB / 1.375 GB, free: 6.391 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.73e-05/0.5795, allocations: 12 kB / 1.375 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.858e-05/0.5796, allocations: 11.94 kB / 1.375 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.5796, allocations: 0 / 1.375 GB, free: 6.367 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.703e-05/0.5797, allocations: 91.27 kB / 1.375 GB, free: 6.277 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5797, allocations: 0 / 1.375 GB, free: 6.277 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002555/0.58, allocations: 31.94 kB / 1.375 GB, free: 6.246 MB / 0.8698 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.0001724/0.5801, allocations: 126.7 kB / 1.375 GB, free: 6.117 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003922/0.5805, allocations: 183.3 kB / 1.375 GB, free: 5.926 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5805, allocations: 4.188 kB / 1.375 GB, free: 5.922 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.5807, allocations: 44.45 kB / 1.375 GB, free: 5.879 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001893/0.5809, allocations: 9.703 kB / 1.375 GB, free: 5.871 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003466/0.5812, allocations: 179.1 kB / 1.375 GB, free: 5.668 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002771/0.5815, allocations: 0.6926 MB / 1.376 GB, free: 4.949 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.397e-05/0.5816, allocations: 7.781 kB / 1.376 GB, free: 4.941 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.755e-05/0.5816, allocations: 15.42 kB / 1.376 GB, free: 4.926 MB / 0.8698 GB Notification: Performance of SimCode: time 1.552e-06/0.5816, allocations: 0 / 1.376 GB, free: 4.926 MB / 0.8698 GB Notification: Performance of Templates: time 0.003541/0.5851, allocations: 1.267 MB / 1.377 GB, free: 3.672 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches