Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.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_11_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_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 108.1 kB / 15.99 MB, free: 6.359 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.001481/0.001481, allocations: 194 kB / 16.91 MB, free: 6.195 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.356/1.356, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.548/2.548, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001812/0.001812, allocations: 59.38 kB / 0.9087 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.2936, allocations: 159.1 MB / 1.064 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.001925/0.2955, allocations: 0.7918 MB / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.2971, allocations: 1.272 MB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.795e-05/0.2972, allocations: 4 kB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.405e-05/0.2972, allocations: 3.938 kB / 1.066 GB, free: 13.02 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 7.459e-05/0.2973, allocations: 11.91 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006358/0.2979, allocations: 228.5 kB / 1.066 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0002869/0.2982, allocations: 267.5 kB / 1.067 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.798e-05/0.2983, allocations: 8.234 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.2985, allocations: 99.86 kB / 1.067 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001349/0.2986, allocations: 87.69 kB / 1.067 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 4.163e-05/0.2987, allocations: 27.94 kB / 1.067 GB, free: 12.31 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 8.494e-05/0.2987, allocations: 43.98 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.049e-05/0.2988, allocations: 23.97 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.2989, allocations: 95.73 kB / 1.067 GB, free: 12.15 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002061/0.2991, allocations: 159.9 kB / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.2991, allocations: 0 / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.747e-06/0.2991, allocations: 0 / 1.067 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.2992, allocations: 7.938 kB / 1.067 GB, free: 11.98 MB / 0.8419 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.0007612/0.2999, allocations: 498.6 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.3, allocations: 12.03 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.894e-05/0.3, allocations: 16.84 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.3007, allocations: 248.3 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.916e-05/0.3007, allocations: 12.38 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.127e-05/0.3007, allocations: 20.36 kB / 1.068 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002543/0.301, allocations: 142.9 kB / 1.068 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.301, allocations: 7.922 kB / 1.068 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.3011, allocations: 4 kB / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.3011, allocations: 0 / 1.068 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.3012, allocations: 63.89 kB / 1.068 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007975/0.302, allocations: 0.5124 MB / 1.069 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000271/0.3023, allocations: 157.2 kB / 1.069 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.895e-05/0.3024, allocations: 65.69 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.149e-05/0.3024, allocations: 4 kB / 1.069 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003947/0.3028, allocations: 208.8 kB / 1.069 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 1.263e-06/0.3028, allocations: 0 / 1.069 GB, free: 9.836 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22): time 0.0005601/0.3034, allocations: 313.3 kB / 1.069 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.614e-05/0.3035, allocations: 89.05 kB / 1.069 GB, free: 9.418 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.3036, allocations: 129.9 kB / 1.07 GB, free: 9.281 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 5.556e-05/0.3036, allocations: 41.7 kB / 1.07 GB, free: 9.234 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.3037, allocations: 96.83 kB / 1.07 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 4.801e-05/0.3038, allocations: 47.42 kB / 1.07 GB, free: 9.09 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000119/0.3039, allocations: 73.69 kB / 1.07 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.3041, allocations: 322.8 kB / 1.07 GB, free: 8.688 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001766/0.3042, allocations: 96.16 kB / 1.07 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.3045, allocations: 156.2 kB / 1.07 GB, free: 8.41 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003135/0.3048, allocations: 253.5 kB / 1.071 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3048, allocations: 0 / 1.071 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005805/0.3054, allocations: 360.6 kB / 1.071 GB, free: 7.754 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 5.269e-05/0.3054, allocations: 63.41 kB / 1.071 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.3055, allocations: 4 kB / 1.071 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.3055, allocations: 7.938 kB / 1.071 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.655e-05/0.3056, allocations: 15.98 kB / 1.071 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.3056, allocations: 11.88 kB / 1.071 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003418/0.3059, allocations: 72.3 kB / 1.071 GB, free: 7.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.306, allocations: 16.08 kB / 1.071 GB, free: 7.555 MB / 0.8419 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 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000139/0.3061, allocations: 148 kB / 1.071 GB, free: 7.402 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.3062, allocations: 15.81 kB / 1.071 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.907e-05/0.3062, allocations: 20.42 kB / 1.071 GB, free: 7.367 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.3062, allocations: 4 kB / 1.071 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.3062, allocations: 3.938 kB / 1.071 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.858e-06/0.3063, allocations: 4 kB / 1.071 GB, free: 7.355 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006611/0.3069, allocations: 0.6059 MB / 1.072 GB, free: 6.695 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3069, allocations: 0 / 1.072 GB, free: 6.695 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.328e-05/0.307, allocations: 15.92 kB / 1.072 GB, free: 6.68 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.307, allocations: 3.938 kB / 1.072 GB, free: 6.676 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.307, allocations: 11.98 kB / 1.072 GB, free: 6.664 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.307, allocations: 3.984 kB / 1.072 GB, free: 6.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.307, allocations: 4 kB / 1.072 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004392/0.3075, allocations: 419.8 kB / 1.072 GB, free: 6.23 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/0.3076, allocations: 92.86 kB / 1.072 GB, free: 6.121 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.835e-05/0.3076, allocations: 15.92 kB / 1.072 GB, free: 6.105 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.3077, allocations: 11.98 kB / 1.072 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.638e-05/0.3078, allocations: 23.95 kB / 1.073 GB, free: 6.07 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.109e-05/0.3078, allocations: 12 kB / 1.073 GB, free: 6.059 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.938e-05/0.3079, allocations: 99.27 kB / 1.073 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3079, allocations: 0 / 1.073 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003377/0.3082, allocations: 55.98 kB / 1.073 GB, free: 5.906 MB / 0.8419 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 (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.0001631/0.3084, allocations: 115.2 kB / 1.073 GB, free: 5.785 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005109/0.3089, allocations: 358.5 kB / 1.073 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.3089, allocations: 448 / 1.073 GB, free: 5.41 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001719/0.3091, allocations: 123.9 kB / 1.073 GB, free: 5.289 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/0.3095, allocations: 24.53 kB / 1.073 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005205/0.31, allocations: 342 kB / 1.074 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/0.3103, allocations: 0.7047 MB / 1.074 GB, free: 4.164 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.553e-05/0.3104, allocations: 15.44 kB / 1.074 GB, free: 4.148 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3104, allocations: 0 / 1.074 GB, free: 4.148 MB / 0.8419 GB Notification: Performance of Templates: time 0.004028/0.3144, allocations: 2.254 MB / 1.076 GB, free: 1.91 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Logical_Validation_Timer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference: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 Variables in the result:noThr.passed,noThr.t,noThr.u,noThr.y,thrTim.passed,thrTim.t,thrTim.u,thrTim.y,thrTim1.passed,thrTim1.t,thrTim1.u,thrTim1.y,time