Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 249.3 MB / 261.8 MB, free: 5.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001078/0.001078, allocations: 172.8 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.516/1.516, allocations: 205.2 MB / 0.572 GB, free: 10.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008994/0.0008995, allocations: 94.52 kB / 0.6764 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.535e-05/3.539e-05, allocations: 4 kB / 0.788 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2119, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6892/0.9012, allocations: 131.8 MB / 1.02 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.9014, allocations: 70.72 kB / 1.021 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002698/0.9042, allocations: 0.9812 MB / 1.021 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.163e-06/0.9042, allocations: 7.938 kB / 1.021 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.9042, allocations: 0 / 1.021 GB, free: 2.043 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004552/0.9046, allocations: 364.6 kB / 1.022 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.9047, allocations: 16.02 kB / 1.022 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.261e-05/0.9048, allocations: 7.906 kB / 1.022 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.9049, allocations: 178.9 kB / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.9049, allocations: 3.938 kB / 1.022 GB, free: 1.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.9049, allocations: 4 kB / 1.022 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.9051, allocations: 53.38 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/0.9051, allocations: 0 / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.9051, allocations: 2.875 kB / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.9051, allocations: 0 / 1.022 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.513e-05/0.9052, allocations: 31.3 kB / 1.022 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/0.9057, allocations: 307.3 kB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/0.9061, allocations: 112.6 kB / 1.023 GB, free: 0.8945 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.095e-05/0.9062, allocations: 15.86 kB / 1.023 GB, free: 0.8789 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.9062, allocations: 4 kB / 1.023 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001455/0.9063, allocations: 75.91 kB / 1.023 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.9064, allocations: 2.734 kB / 1.023 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002299/0.9066, allocations: 73.91 kB / 1.023 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.9067, allocations: 62.61 kB / 1.023 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.593e-05/0.9068, allocations: 108.8 kB / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/0.9068, allocations: 33.58 kB / 1.023 GB, free: 0.5117 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.254e-05/0.9069, allocations: 87.61 kB / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/0.9069, allocations: 20.3 kB / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.9069, allocations: 0 / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001271/0.907, allocations: 321.8 kB / 1.023 GB, free: 92 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.703e-05/0.9071, allocations: 13.88 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.466e-05/0.9071, allocations: 44.92 kB / 1.023 GB, free: 36 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.929e-05/0.9072, allocations: 15.44 kB / 1.023 GB, free: 24 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.9072, allocations: 4 kB / 1.023 GB, free: 20 kB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001702/0.9074, allocations: 90.42 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.9074, allocations: 4 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.9074, allocations: 3.938 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.9074, allocations: 4 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.445e-05/0.9075, allocations: 12 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.9075, allocations: 4.609 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.901e-05/0.9077, allocations: 30.75 kB / 1.024 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.9077, allocations: 4 kB / 1.024 GB, free: 15.88 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 7.568e-05/0.9078, allocations: 111.7 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.146e-05/0.9078, allocations: 3.125 kB / 1.024 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/0.9078, allocations: 12.56 kB / 1.024 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.9078, allocations: 3.938 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.9078, allocations: 0 / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.9078, allocations: 0 / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.9082, allocations: 354 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.9082, allocations: 3.938 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.316e-05/0.9083, allocations: 8 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.9083, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.116e-05/0.9083, allocations: 3.984 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.203e-06/0.9083, allocations: 0 / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9083, allocations: 3.953 kB / 1.024 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001529/0.9085, allocations: 172.4 kB / 1.024 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.9085, allocations: 85.02 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.9085, allocations: 3.188 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.9087, allocations: 19.97 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.9087, allocations: 12.5 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.9087, allocations: 0 / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.234e-05/0.9088, allocations: 105.8 kB / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9088, allocations: 0 / 1.024 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002042/0.909, allocations: 11.94 kB / 1.024 GB, free: 14.94 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (falEdg.y,$whenCondition2,$whenCondition1,booPul.pulseStart,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.0001464/0.9092, allocations: 107.1 kB / 1.024 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001329/0.9093, allocations: 46.25 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.9093, allocations: 0 / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.339e-05/0.9094, allocations: 22.62 kB / 1.025 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002067/0.9096, allocations: 15.86 kB / 1.025 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003438/0.91, allocations: 115.3 kB / 1.025 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.9102, allocations: 0.6926 MB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.773e-05/0.9103, allocations: 8 kB / 1.025 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.426e-05/0.9103, allocations: 11.44 kB / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of SimCode: time 3.11e-07/0.9103, allocations: 0 / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of Templates: time 0.002832/0.9131, allocations: 0.7728 MB / 1.026 GB, free: 13.15 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches