Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009037/0.009037, allocations: 102.1 kB / 15.73 MB, free: 6.488 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.002058/0.002058, allocations: 193.5 kB / 16.68 MB, free: 6.367 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.555/1.555, 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 10.1.1-maint.10.0.x/package.mo): time 2.784/2.784, allocations: 437 MB / 0.7105 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 63.84 kB / 1.019 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3831/0.3844, allocations: 151.6 MB / 1.167 GB, free: 6.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001824/0.3863, allocations: 0.6053 MB / 1.167 GB, free: 6.234 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.3878, allocations: 1.113 MB / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.475e-05/0.3878, allocations: 0 / 1.168 GB, free: 5.105 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.472e-05/0.3879, allocations: 3.938 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.74e-05/0.388, allocations: 7.938 kB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005008/0.3885, allocations: 135 kB / 1.168 GB, free: 4.965 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.3887, allocations: 91.88 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.34e-05/0.3888, allocations: 8 kB / 1.169 GB, free: 4.867 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 8.124e-05/0.3889, allocations: 35.91 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.389, allocations: 27.95 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.689e-05/0.389, allocations: 11.94 kB / 1.169 GB, free: 4.793 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 7.126e-05/0.3891, allocations: 23.98 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.3891, allocations: 11.94 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.3892, allocations: 31.91 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.3893, allocations: 87.72 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.3894, allocations: 0 / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3894, allocations: 0 / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.3894, allocations: 0 / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005049/0.3899, allocations: 381 kB / 1.169 GB, free: 4.211 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.548e-05/0.3899, allocations: 8.031 kB / 1.169 GB, free: 4.203 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.221e-05/0.39, allocations: 4.938 kB / 1.169 GB, free: 4.199 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000122/0.3901, allocations: 172.4 kB / 1.169 GB, free: 3.992 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.3901, allocations: 8.359 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.086e-05/0.3902, allocations: 4.375 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.607e-05/0.3903, allocations: 38.25 kB / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.3903, allocations: 192 / 1.169 GB, free: 3.938 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.3903, allocations: 3.938 kB / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3903, allocations: 0 / 1.169 GB, free: 3.934 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.034e-05/0.3904, allocations: 19.94 kB / 1.169 GB, free: 3.914 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004523/0.3908, allocations: 300.8 kB / 1.17 GB, free: 3.57 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 6.567e-05/0.3909, allocations: 26.52 kB / 1.17 GB, free: 3.535 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.347e-05/0.3909, allocations: 8.922 kB / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.348e-05/0.391, allocations: 0 / 1.17 GB, free: 3.523 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001766/0.3911, allocations: 67.27 kB / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.3911, allocations: 0 / 1.17 GB, free: 3.445 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0002175/0.3914, allocations: 77.84 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.3914, allocations: 55.41 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.684e-05/0.3915, allocations: 113.8 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.49e-05/0.3915, allocations: 29.7 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.838e-05/0.3916, allocations: 88.14 kB / 1.17 GB, free: 3.051 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.352e-05/0.3916, allocations: 3.953 kB / 1.17 GB, free: 3.047 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.38e-05/0.3917, allocations: 33.7 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3918, allocations: 314.8 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.131e-05/0.3919, allocations: 39.92 kB / 1.17 GB, free: 2.652 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.17e-05/0.392, allocations: 46.56 kB / 1.17 GB, free: 2.598 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001133/0.3921, allocations: 80.27 kB / 1.171 GB, free: 2.504 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.3922, allocations: 11.88 kB / 1.171 GB, free: 2.492 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002466/0.3924, allocations: 143.3 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.392e-05/0.3925, allocations: 45.75 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.3925, allocations: 0 / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3925, allocations: 0 / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.8e-05/0.3926, allocations: 7.938 kB / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.3926, allocations: 0 / 1.171 GB, free: 2.281 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.3928, allocations: 27.92 kB / 1.171 GB, free: 2.254 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.107e-05/0.3928, allocations: 7.984 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y,booToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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.0001065/0.3929, allocations: 121.8 kB / 1.171 GB, free: 2.117 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.026e-05/0.3929, allocations: 4 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.775e-05/0.393, allocations: 11.91 kB / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.393, allocations: 0 / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.393, allocations: 0 / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.393, allocations: 0 / 1.171 GB, free: 2.094 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001277/0.3931, allocations: 169.6 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.3931, allocations: 0 / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.54e-05/0.3932, allocations: 64 / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3932, allocations: 4 kB / 1.171 GB, free: 1.875 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3932, allocations: 4 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.3932, allocations: 0 / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3932, allocations: 4 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.3933, allocations: 100.9 kB / 1.171 GB, free: 1.75 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.913e-05/0.3934, allocations: 77.11 kB / 1.171 GB, free: 1.656 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.3934, allocations: 4 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.419e-05/0.3934, allocations: 0 / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.3934, allocations: 3.984 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.65e-06/0.3935, allocations: 4 kB / 1.171 GB, free: 1.645 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.265e-05/0.3935, allocations: 87.28 kB / 1.171 GB, free: 1.559 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3935, allocations: 0 / 1.171 GB, free: 1.559 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002277/0.3937, allocations: 19.94 kB / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booToInt.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001344/0.3939, allocations: 103.2 kB / 1.171 GB, free: 1.43 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002224/0.3941, allocations: 127.3 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3941, allocations: 0 / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 3.749e-05/0.3942, allocations: 12 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002085/0.3944, allocations: 23.98 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.3947, allocations: 117.9 kB / 1.172 GB, free: 1.117 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/0.395, allocations: 0.6807 MB / 1.172 GB, free: 420 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.207e-05/0.395, allocations: 7.984 kB / 1.172 GB, free: 412 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.869e-05/0.395, allocations: 11.44 kB / 1.172 GB, free: 400 kB / 0.92 GB Notification: Performance of SimCode: time 3.71e-07/0.395, allocations: 0 / 1.172 GB, free: 400 kB / 0.92 GB Notification: Performance of Templates: time 0.00343/0.3985, allocations: 1.08 MB / 1.173 GB, free: 15.32 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches