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.001079/0.001079, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.461/1.461, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.793/2.793, allocations: 437 MB / 0.7104 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001432, allocations: 63.89 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7318/0.7332, allocations: 151.6 MB / 1.017 GB, free: 2.508 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002491/0.7358, allocations: 0.6045 MB / 1.018 GB, free: 1.902 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001458/0.7373, allocations: 1.113 MB / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.352e-05/0.7373, allocations: 0 / 1.019 GB, free: 0.7734 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.022e-05/0.7374, allocations: 3.938 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.395e-05/0.7375, allocations: 7.938 kB / 1.019 GB, free: 0.7617 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000507/0.738, allocations: 122.8 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.7382, allocations: 87.88 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.7383, allocations: 15.94 kB / 1.019 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.087e-05/0.7384, allocations: 31.97 kB / 1.019 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 9.626e-05/0.7385, allocations: 27.91 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.887e-05/0.7385, allocations: 8 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.919e-05/0.7386, allocations: 27.92 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.08e-05/0.7386, allocations: 7.922 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.925e-05/0.7387, allocations: 35.91 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.7389, allocations: 83.78 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.725e-06/0.7389, allocations: 4 kB / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7389, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.7389, allocations: 0 / 1.019 GB, free: 328 kB / 0.7637 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.0005075/0.7394, allocations: 379.1 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.7395, allocations: 11.97 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.101e-05/0.7396, allocations: 8.844 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.7397, allocations: 168.4 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.689e-05/0.7398, allocations: 4.375 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.539e-05/0.7398, allocations: 8.375 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.167e-05/0.7399, allocations: 38.25 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.7399, allocations: 192 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.7399, allocations: 7.875 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.7399, allocations: 7.984 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.233e-05/0.74, allocations: 8 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004102/0.7404, allocations: 292.8 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.151e-05/0.7405, allocations: 26.52 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.751e-05/0.7405, allocations: 12.92 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/0.7405, allocations: 0 / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001837/0.7407, allocations: 67.33 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.463e-06/0.7407, allocations: 0 / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002181/0.741, allocations: 73.67 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.741, allocations: 51.41 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.671e-05/0.7411, allocations: 105.8 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.235e-05/0.7411, allocations: 29.7 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.214e-05/0.7412, allocations: 88.05 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.573e-05/0.7412, allocations: 15.92 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.946e-05/0.7413, allocations: 29.7 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.7414, allocations: 318.8 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.914e-05/0.7416, allocations: 31.98 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.714e-05/0.7417, allocations: 50.56 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.7418, allocations: 84.27 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/0.7418, allocations: 3.938 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002644/0.7421, allocations: 155.1 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 4.173e-05/0.7421, allocations: 41.69 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.7421, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.7421, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.247e-05/0.7422, allocations: 4 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.7422, allocations: 0 / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002254/0.7424, allocations: 31.97 kB / 1.021 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.913e-05/0.7425, allocations: 15.86 kB / 1.021 GB, free: 13.93 MB / 0.7794 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.0001051/0.7426, allocations: 122.4 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.354e-05/0.7426, allocations: 3.906 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.671e-05/0.7426, allocations: 3.906 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.7426, allocations: 4 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.7426, allocations: 0 / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.7427, allocations: 3.984 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.7428, allocations: 165.6 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.7428, allocations: 4 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.594e-05/0.7428, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7428, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.7428, allocations: 3.984 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.7429, allocations: 7.938 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.7429, allocations: 0 / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.743, allocations: 85.06 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.279e-05/0.743, allocations: 81.08 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.7431, allocations: 8 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.536e-05/0.7431, allocations: 7.984 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.7431, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.7431, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.45e-05/0.7432, allocations: 87.28 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7432, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002217/0.7434, allocations: 19.98 kB / 1.022 GB, free: 13.23 MB / 0.7794 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.0001666/0.7436, allocations: 99.53 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002451/0.7438, allocations: 135.3 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.7439, allocations: 0 / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.894e-05/0.7439, allocations: 19.98 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.7441, allocations: 11.94 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.7445, allocations: 126.1 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.7448, allocations: 0.6808 MB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.449e-05/0.7448, allocations: 4 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.321e-05/0.7448, allocations: 11.44 kB / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.7448, allocations: 0 / 1.023 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of Templates: time 0.003747/0.7486, allocations: 1.074 MB / 1.024 GB, free: 11.01 MB / 0.7794 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