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.001452/0.001452, allocations: 115.4 kB / 16.42 MB, free: 6.473 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.001674/0.001674, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.645/1.645, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.626/2.626, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 71.89 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.036/1.038, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00159/1.04, allocations: 0.5988 MB / 1.168 GB, free: 3.215 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001358/1.041, allocations: 1.115 MB / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.577e-05/1.041, allocations: 0 / 1.169 GB, free: 2.086 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/1.041, allocations: 3.938 kB / 1.169 GB, free: 2.082 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 6.045e-05/1.041, allocations: 15.94 kB / 1.169 GB, free: 2.066 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000432/1.042, allocations: 122.6 kB / 1.169 GB, free: 1.949 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001348/1.042, allocations: 87.88 kB / 1.169 GB, free: 1.863 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.592e-05/1.042, allocations: 15.98 kB / 1.169 GB, free: 1.848 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.938e-05/1.042, allocations: 31.92 kB / 1.169 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.243e-05/1.042, allocations: 43.81 kB / 1.169 GB, free: 1.773 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/1.042, allocations: 8 kB / 1.169 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 6.782e-05/1.042, allocations: 27.92 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.64e-05/1.042, allocations: 8 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.099e-05/1.042, allocations: 23.92 kB / 1.169 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/1.042, allocations: 83.78 kB / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/1.042, allocations: 0 / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.72e-07/1.042, allocations: 0 / 1.169 GB, free: 1.625 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.048e-06/1.042, allocations: 4 kB / 1.169 GB, free: 1.621 MB / 0.8887 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.0004147/1.043, allocations: 377 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/1.043, allocations: 12.02 kB / 1.17 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/1.043, allocations: 4.938 kB / 1.17 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/1.043, allocations: 176.3 kB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/1.043, allocations: 4.375 kB / 1.17 GB, free: 0.9688 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.976e-05/1.043, allocations: 4.375 kB / 1.17 GB, free: 0.9648 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.482e-05/1.043, allocations: 46.12 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.66e-06/1.043, allocations: 192 / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/1.043, allocations: 7.938 kB / 1.17 GB, free: 0.9062 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.043, allocations: 4 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.381e-05/1.043, allocations: 11.98 kB / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003495/1.044, allocations: 286.7 kB / 1.17 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.122e-05/1.044, allocations: 30.5 kB / 1.17 GB, free: 0.5234 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.71e-05/1.044, allocations: 16.84 kB / 1.17 GB, free: 0.5039 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 8.185e-06/1.044, allocations: 4 kB / 1.17 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/1.044, allocations: 59.39 kB / 1.17 GB, free: 440 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.323e-06/1.044, allocations: 0 / 1.17 GB, free: 440 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001797/1.044, allocations: 73.59 kB / 1.17 GB, free: 360 kB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.698e-05/1.044, allocations: 51.41 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.115e-05/1.044, allocations: 110 kB / 1.171 GB, free: 176 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/1.044, allocations: 29.7 kB / 1.171 GB, free: 140 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 4.949e-05/1.044, allocations: 92.14 kB / 1.171 GB, free: 44 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.141e-05/1.044, allocations: 7.891 kB / 1.171 GB, free: 36 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.293e-05/1.044, allocations: 33.78 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001061/1.044, allocations: 310.8 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.638e-05/1.045, allocations: 31.98 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.503e-05/1.045, allocations: 54.61 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/1.045, allocations: 88.2 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/1.045, allocations: 4 kB / 1.171 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002397/1.045, allocations: 147.2 kB / 1.171 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/1.045, allocations: 37.7 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/1.045, allocations: 0 / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/1.045, allocations: 0 / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.566e-05/1.045, allocations: 4 kB / 1.171 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/1.045, allocations: 7.922 kB / 1.171 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/1.045, allocations: 35.88 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/1.045, allocations: 8 kB / 1.171 GB, free: 15.23 MB / 0.9044 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 8.108e-05/1.045, allocations: 117.8 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.398e-06/1.045, allocations: 0 / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/1.045, allocations: 11.91 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.045, allocations: 3.984 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/1.046, allocations: 3.938 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.602e-05/1.046, allocations: 81.02 kB / 1.172 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/1.046, allocations: 8.062 kB / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.534e-05/1.046, allocations: 0 / 1.172 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.094e-05/1.046, allocations: 7.938 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001095/1.046, allocations: 136.9 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001416/1.046, allocations: 226.8 kB / 1.172 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.169e-05/1.046, allocations: 15.98 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.662e-05/1.046, allocations: 87.28 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of Backend: time 2.7e-07/1.046, allocations: 3.938 kB / 1.172 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005015/1.046, allocations: 208.3 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0004317/1.047, allocations: 0.5654 MB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of Templates: time 0.003316/1.05, allocations: 1.105 MB / 1.174 GB, free: 12.55 MB / 0.9044 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/jenkins1/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