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.001279/0.001279, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.009498/0.009498, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.608/1.608, allocations: 223.3 MB / 240.3 MB, free: 5.336 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.794/2.794, allocations: 437.8 MB / 0.7121 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003832/0.0003835, allocations: 8 kB / 0.8728 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7554/0.7559, allocations: 153.8 MB / 1.023 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.0009299/0.7568, allocations: 340.2 kB / 1.023 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.7583, allocations: 1.117 MB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.125e-05/0.7583, allocations: 0 / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.604e-05/0.7583, allocations: 0 / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.091e-05/0.7584, allocations: 7.938 kB / 1.024 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004676/0.7589, allocations: 107.7 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.759, allocations: 83.75 kB / 1.025 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.7591, allocations: 8 kB / 1.025 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.935e-05/0.7592, allocations: 27.97 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.944e-05/0.7593, allocations: 23.91 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.7593, allocations: 4 kB / 1.025 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 6.476e-05/0.7594, allocations: 19.97 kB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.845e-05/0.7594, allocations: 12 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.433e-05/0.7595, allocations: 45.62 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.7596, allocations: 79.77 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.7596, allocations: 0 / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7596, allocations: 0 / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.7596, allocations: 0 / 1.025 GB, free: 13.91 MB / 0.7794 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.0004731/0.7601, allocations: 372.6 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.7602, allocations: 12.02 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.746e-05/0.7602, allocations: 12.84 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.7604, allocations: 172.3 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.712e-05/0.7604, allocations: 4.312 kB / 1.025 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.7604, allocations: 8.375 kB / 1.025 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.7605, allocations: 38.25 kB / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.7605, allocations: 192 / 1.025 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.7606, allocations: 3.938 kB / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.7606, allocations: 0 / 1.025 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.241e-05/0.7606, allocations: 11.98 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004336/0.7611, allocations: 292.9 kB / 1.026 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.14e-05/0.7611, allocations: 30.45 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.481e-05/0.7612, allocations: 12.91 kB / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.7612, allocations: 0 / 1.026 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.7613, allocations: 63.38 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.252e-06/0.7613, allocations: 0 / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0002019/0.7615, allocations: 81.53 kB / 1.026 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.7616, allocations: 51.41 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.098e-05/0.7617, allocations: 109.8 kB / 1.026 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.463e-05/0.7617, allocations: 29.7 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/0.7618, allocations: 88.14 kB / 1.026 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.383e-05/0.7618, allocations: 7.891 kB / 1.026 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.581e-05/0.7618, allocations: 17.72 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.762, allocations: 310.8 kB / 1.026 GB, free: 11.99 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.898e-05/0.762, allocations: 35.98 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.724e-05/0.7621, allocations: 54.55 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001118/0.7622, allocations: 88.27 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.7623, allocations: 3.938 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002387/0.7625, allocations: 151.2 kB / 1.027 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.598e-05/0.7626, allocations: 37.77 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.7626, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.7626, allocations: 0 / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.919e-05/0.7626, allocations: 7.984 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.7627, allocations: 0 / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.7629, allocations: 47.84 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.74e-05/0.7629, allocations: 8 kB / 1.027 GB, free: 11.52 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.0001031/0.763, allocations: 126.2 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.074e-05/0.7631, allocations: 4 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.365e-05/0.7631, allocations: 3.906 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.7631, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.7631, allocations: 0 / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.7631, allocations: 3.938 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.7632, allocations: 173.5 kB / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.7633, allocations: 0 / 1.027 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/0.7633, allocations: 8 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.7633, allocations: 0 / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.7633, allocations: 0 / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.7633, allocations: 0 / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.7633, allocations: 0 / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.7634, allocations: 85.05 kB / 1.027 GB, free: 11.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.57e-05/0.7635, allocations: 81.11 kB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.7635, allocations: 0 / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.496e-05/0.7635, allocations: 7.938 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.215e-05/0.7636, allocations: 4 kB / 1.027 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.7636, allocations: 4 kB / 1.027 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.251e-05/0.7636, allocations: 83.27 kB / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7636, allocations: 0 / 1.027 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002038/0.7638, allocations: 20 kB / 1.027 GB, free: 10.83 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.0001647/0.764, allocations: 103.9 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002238/0.7642, allocations: 123.4 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.7642, allocations: 4.125 kB / 1.028 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.373e-05/0.7643, allocations: 15.94 kB / 1.028 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.7645, allocations: 11.92 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002919/0.7648, allocations: 146.5 kB / 1.028 GB, free: 10.39 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000228/0.765, allocations: 0.677 MB / 1.029 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.888e-05/0.765, allocations: 8 kB / 1.029 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.504e-05/0.7651, allocations: 7.438 kB / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.7651, allocations: 0 / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of Templates: time 0.003411/0.7685, allocations: 1.036 MB / 1.03 GB, free: 8.648 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