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: 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_latest_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_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.254/2.254, allocations: 390.3 MB / 402.8 MB, free: 6.645 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.001104/0.001104, allocations: 176.8 kB / 496.1 MB, free: 12.86 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.579/1.579, allocations: 221.3 MB / 0.7915 GB, free: 5.418 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.0009911/0.0009912, allocations: 87.97 kB / 0.9317 GB, free: 5.734 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.153e-05/5.157e-05, allocations: 11.98 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3398/0.3399, allocations: 143 MB / 1.219 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.147/1.487, allocations: 150.4 MB / 1.366 GB, free: 3.586 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000299/1.487, allocations: 72.11 kB / 1.366 GB, free: 3.547 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.007228/1.495, allocations: 2.111 MB / 1.368 GB, free: 1.707 MB / 0.823 GB Notification: Performance of FrontEnd: time 3.878e-06/1.495, allocations: 3.938 kB / 1.368 GB, free: 1.703 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.241e-05/1.495, allocations: 0 / 1.368 GB, free: 1.703 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.0007701/1.496, allocations: 399.3 kB / 1.368 GB, free: 1.27 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 8.046e-05/1.496, allocations: 12.03 kB / 1.368 GB, free: 1.258 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.973e-05/1.496, allocations: 4 kB / 1.368 GB, free: 1.254 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/1.496, allocations: 174.9 kB / 1.368 GB, free: 1.043 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.673e-05/1.496, allocations: 11.92 kB / 1.368 GB, free: 1.031 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/1.496, allocations: 7 kB / 1.368 GB, free: 1.027 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/1.496, allocations: 58.3 kB / 1.368 GB, free: 0.9727 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/1.496, allocations: 3.984 kB / 1.368 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/1.496, allocations: 0 / 1.368 GB, free: 0.9688 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/1.496, allocations: 4 kB / 1.368 GB, free: 0.9648 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.428e-05/1.497, allocations: 21.75 kB / 1.368 GB, free: 0.9492 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007378/1.497, allocations: 332.1 kB / 1.369 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/1.497, allocations: 47.08 kB / 1.369 GB, free: 0.5625 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.043e-05/1.497, allocations: 24.34 kB / 1.369 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/1.498, allocations: 0 / 1.369 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/1.498, allocations: 78.02 kB / 1.369 GB, free: 472 kB / 0.823 GB Notification: Performance of pre-optimization done (n=8): time 2.695e-06/1.498, allocations: 0 / 1.369 GB, free: 472 kB / 0.823 GB Notification: Performance of matching and sorting (n=8): time 0.000304/1.498, allocations: 87.86 kB / 1.369 GB, free: 388 kB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.611e-05/1.498, allocations: 59.03 kB / 1.369 GB, free: 320 kB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/1.498, allocations: 108.3 kB / 1.369 GB, free: 208 kB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 4.036e-05/1.498, allocations: 36.77 kB / 1.369 GB, free: 168 kB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.602e-05/1.498, allocations: 98.56 kB / 1.369 GB, free: 72 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/1.498, allocations: 10.81 kB / 1.369 GB, free: 64 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.508e-05/1.499, allocations: 7.938 kB / 1.369 GB, free: 56 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001931/1.499, allocations: 317.7 kB / 1.37 GB, free: 15.74 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001099/1.499, allocations: 36.38 kB / 1.37 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000142/1.499, allocations: 77.91 kB / 1.37 GB, free: 15.64 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/1.499, allocations: 69.5 kB / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/1.499, allocations: 0 / 1.37 GB, free: 15.58 MB / 0.8386 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003822/1.5, allocations: 182.7 kB / 1.37 GB, free: 15.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.877e-05/1.5, allocations: 37.33 kB / 1.37 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.375e-06/1.5, allocations: 8.062 kB / 1.37 GB, free: 15.37 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.493e-05/1.5, allocations: 4 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/1.5, allocations: 14.92 kB / 1.37 GB, free: 15.35 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/1.5, allocations: 7.953 kB / 1.37 GB, free: 15.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002456/1.5, allocations: 48.83 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/1.5, allocations: 4 kB / 1.37 GB, free: 15.29 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 0.0001599/1.5, allocations: 128.2 kB / 1.37 GB, free: 15.17 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/1.5, allocations: 3.906 kB / 1.37 GB, free: 15.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.01e-05/1.5, allocations: 11.38 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/1.5, allocations: 0 / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.5, allocations: 0 / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/1.5, allocations: 3.953 kB / 1.37 GB, free: 15.15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004826/1.501, allocations: 356.2 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/1.501, allocations: 4.062 kB / 1.371 GB, free: 14.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.723e-05/1.501, allocations: 15.92 kB / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.009e-06/1.501, allocations: 0 / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/1.501, allocations: 2.75 kB / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.563e-06/1.501, allocations: 3.953 kB / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/1.501, allocations: 0 / 1.371 GB, free: 14.75 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/1.501, allocations: 184.9 kB / 1.371 GB, free: 14.56 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.403e-05/1.501, allocations: 81.02 kB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.737e-05/1.501, allocations: 7.375 kB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.866e-05/1.502, allocations: 7.984 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.18e-05/1.502, allocations: 7.953 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/1.502, allocations: 11.73 kB / 1.371 GB, free: 14.44 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 7.908e-05/1.502, allocations: 97.23 kB / 1.371 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.502, allocations: 0 / 1.371 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003025/1.502, allocations: 28 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.000325/1.502, allocations: 115 kB / 1.371 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003213/1.503, allocations: 150.2 kB / 1.371 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.247e-06/1.503, allocations: 0 / 1.371 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.006e-05/1.503, allocations: 30.17 kB / 1.371 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/1.503, allocations: 19.55 kB / 1.371 GB, free: 14.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003786/1.503, allocations: 99.23 kB / 1.371 GB, free: 13.93 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/1.504, allocations: 0.6965 MB / 1.372 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.175e-05/1.504, allocations: 7.781 kB / 1.372 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.456e-05/1.504, allocations: 15.38 kB / 1.372 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of SimCode: time 7.62e-07/1.504, allocations: 0 / 1.372 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of Templates: time 0.005169/1.509, allocations: 1.268 MB / 1.373 GB, free: 11.93 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches