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.001816/0.001816, allocations: 104 kB / 16.27 MB, free: 6.418 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.00193/0.00193, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.453/1.453, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.552/2.552, allocations: 437.1 MB / 0.711 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002601/0.002601, allocations: 63.83 kB / 0.8699 GB, free: 2.145 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3261/0.3287, allocations: 151.6 MB / 1.018 GB, free: 10.58 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001881/0.3306, allocations: 0.608 MB / 1.019 GB, free: 9.969 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0015/0.3322, allocations: 1.114 MB / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.03e-05/0.3322, allocations: 0 / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.087e-05/0.3323, allocations: 0 / 1.02 GB, free: 8.84 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.138e-05/0.3323, allocations: 7.922 kB / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005101/0.3328, allocations: 118.8 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001557/0.333, allocations: 103.8 kB / 1.02 GB, free: 8.617 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.3331, allocations: 7.984 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.3e-05/0.3332, allocations: 35.92 kB / 1.02 GB, free: 8.574 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.672e-05/0.3333, allocations: 31.89 kB / 1.02 GB, free: 8.543 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.55e-05/0.3333, allocations: 8 kB / 1.02 GB, free: 8.535 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 6.98e-05/0.3334, allocations: 15.98 kB / 1.02 GB, free: 8.52 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.116e-05/0.3334, allocations: 15.98 kB / 1.02 GB, free: 8.504 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.185e-05/0.3335, allocations: 23.92 kB / 1.02 GB, free: 8.48 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.3337, allocations: 87.78 kB / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3337, allocations: 0 / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3337, allocations: 0 / 1.02 GB, free: 8.395 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.3337, allocations: 4 kB / 1.02 GB, free: 8.391 MB / 0.795 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.0004988/0.3342, allocations: 381.2 kB / 1.02 GB, free: 7.961 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.3342, allocations: 12.03 kB / 1.02 GB, free: 7.949 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.173e-05/0.3343, allocations: 4.938 kB / 1.02 GB, free: 7.945 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.3345, allocations: 176.3 kB / 1.021 GB, free: 7.734 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.3345, allocations: 4.375 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.3345, allocations: 4.375 kB / 1.021 GB, free: 7.727 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.3346, allocations: 42.25 kB / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.3346, allocations: 192 / 1.021 GB, free: 7.68 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3347, allocations: 3.938 kB / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3347, allocations: 0 / 1.021 GB, free: 7.676 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.688e-05/0.3347, allocations: 8 kB / 1.021 GB, free: 7.668 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/0.3351, allocations: 300.7 kB / 1.021 GB, free: 7.324 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.019e-05/0.3352, allocations: 34.45 kB / 1.021 GB, free: 7.281 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.695e-05/0.3353, allocations: 12.92 kB / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-06/0.3353, allocations: 0 / 1.021 GB, free: 7.266 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.3354, allocations: 59.39 kB / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.3354, allocations: 0 / 1.021 GB, free: 7.195 MB / 0.795 GB Notification: Performance of matching and sorting (n=4): time 0.0002067/0.3357, allocations: 73.61 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.3357, allocations: 55.41 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.3358, allocations: 109.8 kB / 1.021 GB, free: 6.934 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.3359, allocations: 25.7 kB / 1.021 GB, free: 6.902 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.3359, allocations: 88.05 kB / 1.021 GB, free: 6.812 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.3359, allocations: 7.906 kB / 1.021 GB, free: 6.805 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.49e-05/0.336, allocations: 33.7 kB / 1.021 GB, free: 6.766 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3362, allocations: 314.8 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.007e-05/0.3363, allocations: 35.98 kB / 1.022 GB, free: 6.414 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.771e-05/0.3364, allocations: 46.56 kB / 1.022 GB, free: 6.359 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.3365, allocations: 88.2 kB / 1.022 GB, free: 6.258 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.3365, allocations: 3.938 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002845/0.3368, allocations: 143.3 kB / 1.022 GB, free: 6.102 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.3369, allocations: 41.75 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.3369, allocations: 0 / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.3369, allocations: 7.938 kB / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.775e-05/0.3369, allocations: 0 / 1.022 GB, free: 6.047 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.3369, allocations: 4 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002227/0.3372, allocations: 31.91 kB / 1.022 GB, free: 6.012 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.3372, allocations: 7.984 kB / 1.022 GB, free: 6.004 MB / 0.795 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.0001012/0.3373, allocations: 126.4 kB / 1.022 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.3373, allocations: 7.906 kB / 1.022 GB, free: 5.863 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.634e-05/0.3374, allocations: 3.906 kB / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3374, allocations: 64 / 1.022 GB, free: 5.855 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/0.3374, allocations: 4 kB / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3374, allocations: 240 / 1.022 GB, free: 5.852 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001614/0.3376, allocations: 173.6 kB / 1.022 GB, free: 5.633 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3376, allocations: 0 / 1.022 GB, free: 5.633 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/0.3376, allocations: 7.984 kB / 1.022 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.3376, allocations: 0 / 1.022 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.143e-06/0.3376, allocations: 0 / 1.022 GB, free: 5.625 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3376, allocations: 7.984 kB / 1.022 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3376, allocations: 0 / 1.022 GB, free: 5.617 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.3378, allocations: 85.06 kB / 1.023 GB, free: 5.516 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.086e-05/0.3378, allocations: 81.02 kB / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.359e-05/0.3378, allocations: 0 / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.665e-05/0.3379, allocations: 0 / 1.023 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.89e-05/0.3379, allocations: 15.92 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.928e-06/0.3379, allocations: 0 / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.172e-05/0.338, allocations: 87.28 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.31e-07/0.338, allocations: 0 / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002115/0.3382, allocations: 19.98 kB / 1.023 GB, free: 5.297 MB / 0.795 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.0001567/0.3384, allocations: 99.25 kB / 1.023 GB, free: 5.188 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00025/0.3386, allocations: 131.3 kB / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3386, allocations: 0 / 1.023 GB, free: 5.047 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 4.133e-05/0.3387, allocations: 19.98 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00019/0.3389, allocations: 12.06 kB / 1.023 GB, free: 5.016 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000305/0.3392, allocations: 155.8 kB / 1.023 GB, free: 4.832 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.3395, allocations: 0.6768 MB / 1.024 GB, free: 4.129 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.3395, allocations: 15.38 kB / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of SimCode: time 2.3e-07/0.3396, allocations: 0 / 1.024 GB, free: 4.113 MB / 0.795 GB Notification: Performance of Templates: time 0.002623/0.3422, allocations: 0.9392 MB / 1.025 GB, free: 3.184 MB / 0.795 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=400 -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