Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.And,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u1|and1.u2|and1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008593/0.008593, allocations: 102 kB / 15.73 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001997/0.001998, allocations: 196 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.558/2.558, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 65.08 kB / 0.9509 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3483/0.3497, allocations: 140.4 MB / 1.088 GB, free: 1.422 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.001879/0.3516, allocations: 0.6457 MB / 1.089 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001571/0.3532, allocations: 1.188 MB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.479e-05/0.3532, allocations: 4 kB / 1.09 GB, free: 15.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.331e-05/0.3533, allocations: 7.938 kB / 1.09 GB, free: 15.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.757e-05/0.3534, allocations: 15.91 kB / 1.09 GB, free: 15.55 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00067/0.3541, allocations: 208.4 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003029/0.3544, allocations: 183.7 kB / 1.09 GB, free: 15.17 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.3545, allocations: 19.97 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.3546, allocations: 75.81 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.3548, allocations: 59.84 kB / 1.09 GB, free: 15.02 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/0.3548, allocations: 16 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.287e-05/0.3549, allocations: 27.98 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.377e-05/0.355, allocations: 4 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.532e-05/0.3551, allocations: 63.81 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002628/0.3553, allocations: 151.5 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3553, allocations: 0 / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.904e-06/0.3553, allocations: 0 / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.554e-06/0.3554, allocations: 0 / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006241/0.356, allocations: 430.8 kB / 1.091 GB, free: 14.27 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.356, allocations: 12.03 kB / 1.091 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.044e-05/0.3561, allocations: 8.844 kB / 1.091 GB, free: 14.25 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.3562, allocations: 176.3 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.3563, allocations: 4.375 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.015e-05/0.3563, allocations: 8.375 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.3564, allocations: 46.25 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3564, allocations: 192 / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.58e-05/0.3565, allocations: 11.92 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.3565, allocations: 4 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.494e-05/0.3565, allocations: 12 kB / 1.091 GB, free: 13.95 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004722/0.357, allocations: 360.6 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.716e-05/0.3571, allocations: 38.5 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.3571, allocations: 16.86 kB / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.084e-06/0.3571, allocations: 0 / 1.092 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.3573, allocations: 79.47 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.3573, allocations: 3.938 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0002575/0.3576, allocations: 109.8 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.3576, allocations: 55.39 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.049e-05/0.3577, allocations: 113.8 kB / 1.092 GB, free: 13.09 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.3578, allocations: 29.7 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.957e-05/0.3578, allocations: 96.03 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.59e-05/0.3578, allocations: 19.89 kB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.422e-05/0.3579, allocations: 49.69 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.3581, allocations: 322.8 kB / 1.092 GB, free: 12.56 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001263/0.3582, allocations: 59.95 kB / 1.093 GB, free: 12.5 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.3583, allocations: 97.14 kB / 1.093 GB, free: 12.39 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.3585, allocations: 163.6 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3585, allocations: 0 / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004172/0.359, allocations: 260.8 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.111e-05/0.359, allocations: 71.39 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.359, allocations: 0.5938 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.359, allocations: 4 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.159e-05/0.3591, allocations: 4 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.3591, allocations: 4.062 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003136/0.3594, allocations: 51.84 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.3594, allocations: 19.92 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.3596, allocations: 137.7 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.09e-05/0.3596, allocations: 0 / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.817e-05/0.3596, allocations: 8.375 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.3596, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3596, allocations: 0 / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.3596, allocations: 3.984 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000149/0.3598, allocations: 177.6 kB / 1.093 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3598, allocations: 0 / 1.093 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.784e-06/0.3598, allocations: 0 / 1.093 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.3598, allocations: 4 kB / 1.093 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.3598, allocations: 0 / 1.093 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.3598, allocations: 7.984 kB / 1.093 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3598, allocations: 0 / 1.093 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.36, allocations: 116.9 kB / 1.094 GB, free: 11.24 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.36, allocations: 85 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.3601, allocations: 4 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.829e-05/0.3601, allocations: 0 / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.3601, allocations: 7.984 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.3601, allocations: 4.062 kB / 1.094 GB, free: 11.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.135e-05/0.3602, allocations: 91.28 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3602, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002414/0.3604, allocations: 35.98 kB / 1.094 GB, free: 11 MB / 0.8575 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 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001584/0.3606, allocations: 103.8 kB / 1.094 GB, free: 10.89 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003389/0.361, allocations: 246.6 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.361, allocations: 7.938 kB / 1.094 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.078e-05/0.361, allocations: 36.17 kB / 1.094 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.3613, allocations: 20.16 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/0.3616, allocations: 154.8 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.3618, allocations: 0.6884 MB / 1.095 GB, free: 9.672 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.865e-05/0.3619, allocations: 11.97 kB / 1.095 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.947e-05/0.3619, allocations: 15.44 kB / 1.095 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of SimCode: time 2e-07/0.3619, allocations: 0 / 1.095 GB, free: 9.645 MB / 0.8575 GB Notification: Performance of Templates: time 0.004712/0.3666, allocations: 1.835 MB / 1.097 GB, free: 7.832 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Logical_Validation_And.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.And.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches