Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|noThr.u|noThr.y|noThr.t|noThr.passed|thrTim.u|thrTim.y|thrTim.t|thrTim.passed|thrTim1.u|thrTim1.y|thrTim1.t|thrTim1.passed",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.202/2.202, allocations: 390.3 MB / 405.3 MB, free: 13.55 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.001387/0.001386, allocations: 173.2 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.621/1.621, allocations: 223.2 MB / 0.7949 GB, free: 17.96 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.0009468/0.000947, allocations: 102.5 kB / 0.9346 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003588/0.0003588, allocations: 9.938 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3193, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1959/0.5152, allocations: 149.6 MB / 1.369 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/0.5155, allocations: 75.94 kB / 1.369 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01022/0.5257, allocations: 3.384 MB / 1.372 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.514e-06/0.5258, allocations: 0 / 1.372 GB, free: 9.043 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.758e-06/0.5258, allocations: 0 / 1.372 GB, free: 9.043 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006622/0.5265, allocations: 466.4 kB / 1.373 GB, free: 8.527 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.5266, allocations: 11.98 kB / 1.373 GB, free: 8.516 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.062e-05/0.5267, allocations: 15.91 kB / 1.373 GB, free: 8.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.5268, allocations: 178.9 kB / 1.373 GB, free: 8.285 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.075e-05/0.5268, allocations: 15.98 kB / 1.373 GB, free: 8.27 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.147e-05/0.5269, allocations: 23.98 kB / 1.373 GB, free: 8.246 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.5272, allocations: 135.2 kB / 1.373 GB, free: 8.102 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.5272, allocations: 0 / 1.373 GB, free: 8.102 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.381e-05/0.5272, allocations: 7.984 kB / 1.373 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.5272, allocations: 3.984 kB / 1.373 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.5274, allocations: 63.95 kB / 1.373 GB, free: 8.027 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009192/0.5283, allocations: 0.5553 MB / 1.374 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000263/0.5286, allocations: 161.3 kB / 1.374 GB, free: 7.242 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.174e-05/0.5286, allocations: 0 / 1.374 GB, free: 7.242 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003718/0.529, allocations: 207.9 kB / 1.374 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=22): time 2.134e-06/0.529, allocations: 7.875 kB / 1.374 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22): time 0.0005807/0.5296, allocations: 321.2 kB / 1.374 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.089e-05/0.5296, allocations: 89.2 kB / 1.375 GB, free: 6.586 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.5298, allocations: 128.9 kB / 1.375 GB, free: 6.453 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/0.5298, allocations: 37.7 kB / 1.375 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/0.5299, allocations: 101.4 kB / 1.375 GB, free: 6.305 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.963e-05/0.53, allocations: 51.41 kB / 1.375 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.53, allocations: 8 kB / 1.375 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.5302, allocations: 326.8 kB / 1.375 GB, free: 5.918 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.5303, allocations: 92.23 kB / 1.375 GB, free: 5.824 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.5306, allocations: 161.2 kB / 1.375 GB, free: 5.641 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.5308, allocations: 139.4 kB / 1.376 GB, free: 5.492 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.5308, allocations: 4 kB / 1.376 GB, free: 5.488 MB / 0.8698 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006214/0.5314, allocations: 368.7 kB / 1.376 GB, free: 5.109 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.086e-05/0.5315, allocations: 67.39 kB / 1.376 GB, free: 5.031 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.5315, allocations: 4 kB / 1.376 GB, free: 5.027 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.5315, allocations: 4 kB / 1.376 GB, free: 5.023 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.382e-05/0.5316, allocations: 15.94 kB / 1.376 GB, free: 5.008 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.858e-06/0.5317, allocations: 4 kB / 1.376 GB, free: 5.004 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004041/0.5321, allocations: 95.88 kB / 1.376 GB, free: 4.91 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.459e-05/0.5321, allocations: 23.98 kB / 1.376 GB, free: 4.887 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 ($PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,$PRE.noThr.entryTime,noThr.entryTime,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.booPul.y,booPul.y,$PRE.thrTim1.passed,thrTim1.passed,$whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.thrTim1.entryTime,thrTim1.entryTime,$PRE.booPul1.y,booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 2 * 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.0001511/0.5323, allocations: 144.4 kB / 1.376 GB, free: 4.738 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.5323, allocations: 15.81 kB / 1.376 GB, free: 4.723 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.663e-05/0.5324, allocations: 16.5 kB / 1.376 GB, free: 4.703 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.982e-06/0.5324, allocations: 4 kB / 1.376 GB, free: 4.699 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.5324, allocations: 3.938 kB / 1.376 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.5324, allocations: 3.984 kB / 1.376 GB, free: 4.691 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006833/0.5331, allocations: 0.6187 MB / 1.377 GB, free: 4.016 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.5331, allocations: 3.984 kB / 1.377 GB, free: 4.012 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.761e-05/0.5332, allocations: 19.94 kB / 1.377 GB, free: 3.992 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.5332, allocations: 0 / 1.377 GB, free: 3.992 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.5332, allocations: 7.984 kB / 1.377 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.5332, allocations: 0 / 1.377 GB, free: 3.984 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.5332, allocations: 3.953 kB / 1.377 GB, free: 3.98 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/0.5337, allocations: 440 kB / 1.377 GB, free: 3.531 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.211e-05/0.5338, allocations: 92.86 kB / 1.377 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.602e-05/0.5338, allocations: 8 kB / 1.377 GB, free: 3.414 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.534, allocations: 23.92 kB / 1.377 GB, free: 3.391 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.684e-05/0.5341, allocations: 19.97 kB / 1.378 GB, free: 3.371 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.5341, allocations: 19.98 kB / 1.378 GB, free: 3.352 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.228e-05/0.5342, allocations: 95.14 kB / 1.378 GB, free: 3.262 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5342, allocations: 4 kB / 1.378 GB, free: 3.258 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003724/0.5346, allocations: 63.98 kB / 1.378 GB, free: 3.195 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0002159/0.5348, allocations: 123 kB / 1.378 GB, free: 3.066 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000532/0.5353, allocations: 362.6 kB / 1.378 GB, free: 2.688 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.5353, allocations: 0 / 1.378 GB, free: 2.688 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.5355, allocations: 116.3 kB / 1.378 GB, free: 2.574 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000269/0.5358, allocations: 23.97 kB / 1.378 GB, free: 2.551 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000549/0.5364, allocations: 308.9 kB / 1.379 GB, free: 2.223 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002713/0.5367, allocations: 0.7088 MB / 1.379 GB, free: 1.488 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 6.293e-05/0.5367, allocations: 13.7 kB / 1.379 GB, free: 1.477 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.206e-05/0.5368, allocations: 19.42 kB / 1.379 GB, free: 1.457 MB / 0.8698 GB Notification: Performance of SimCode: time 3.11e-07/0.5368, allocations: 4 kB / 1.379 GB, free: 1.453 MB / 0.8698 GB Notification: Performance of Templates: time 0.005744/0.5425, allocations: 2.479 MB / 1.382 GB, free: 14.99 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches