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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001198/0.001198, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001169/0.001169, allocations: 196.1 kB / 16.14 MB, free: 6.711 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.2/1.2, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.26/2.26, allocations: 437 MB / 0.7099 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001178, allocations: 63.89 kB / 0.8687 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4579/0.4591, allocations: 151.6 MB / 1.017 GB, free: 2.75 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001573/0.4607, allocations: 0.6676 MB / 1.017 GB, free: 2.082 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001094/0.4618, allocations: 1.12 MB / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.437e-05/0.4619, allocations: 0 / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.451e-05/0.4619, allocations: 3.938 kB / 1.018 GB, free: 0.9414 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.733e-05/0.462, allocations: 3.984 kB / 1.018 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003255/0.4623, allocations: 111.3 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.64e-05/0.4624, allocations: 83.81 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.501e-05/0.4625, allocations: 7.984 kB / 1.019 GB, free: 0.7422 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.128e-05/0.4625, allocations: 31.92 kB / 1.019 GB, free: 0.7109 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.08e-05/0.4626, allocations: 31.88 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.908e-05/0.4626, allocations: 7.938 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 5.715e-05/0.4627, allocations: 16 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.582e-05/0.4627, allocations: 11.92 kB / 1.019 GB, free: 0.6445 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/0.4627, allocations: 23.92 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.4629, allocations: 83.78 kB / 1.019 GB, free: 0.5391 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.4629, allocations: 4 kB / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of FrontEnd: time 7.01e-07/0.4629, allocations: 0 / 1.019 GB, free: 0.5352 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.4629, allocations: 0 / 1.019 GB, free: 0.5352 MB / 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.0003554/0.4633, allocations: 383.3 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.4633, allocations: 8.031 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.567e-05/0.4633, allocations: 38.73 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.727e-05/0.4634, allocations: 4.938 kB / 1.019 GB, free: 48 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.335e-05/0.4635, allocations: 160.4 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.4635, allocations: 4.375 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.848e-05/0.4635, allocations: 8.375 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.574e-05/0.4636, allocations: 42.19 kB / 1.019 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.4636, allocations: 7.938 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.4636, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.247e-06/0.4636, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.438e-05/0.4637, allocations: 11.98 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003058/0.464, allocations: 292.8 kB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.208e-05/0.464, allocations: 38.45 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.255e-05/0.4641, allocations: 16.91 kB / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.113e-06/0.4641, allocations: 0 / 1.02 GB, free: 15.37 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001049/0.4642, allocations: 59.39 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.4642, allocations: 0 / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001577/0.4643, allocations: 61.69 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.4644, allocations: 55.34 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.859e-05/0.4645, allocations: 117.8 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.4645, allocations: 25.7 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.205e-05/0.4645, allocations: 88.05 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.103e-05/0.4645, allocations: 11.89 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.869e-05/0.4646, allocations: 29.7 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.064e-05/0.4647, allocations: 318.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.08e-05/0.4648, allocations: 27.98 kB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.557e-05/0.4648, allocations: 58.48 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.465, allocations: 92.14 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.465, allocations: 0 / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002271/0.4652, allocations: 143.3 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.014e-05/0.4652, allocations: 33.7 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.4652, allocations: 0 / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.4653, allocations: 8.062 kB / 1.021 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.805e-05/0.4653, allocations: 8 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.4653, allocations: 11.98 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001863/0.4655, allocations: 27.91 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.4655, allocations: 4 kB / 1.021 GB, free: 14.11 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 6.727e-05/0.4656, allocations: 118.3 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.129e-05/0.4656, allocations: 7.906 kB / 1.021 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.964e-05/0.4656, allocations: 11.89 kB / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.4656, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.4657, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.4657, allocations: 0 / 1.021 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.752e-05/0.4658, allocations: 169.6 kB / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4658, allocations: 0 / 1.021 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.582e-05/0.4658, allocations: 8.172 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.4658, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.541e-06/0.4658, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4658, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4658, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.706e-05/0.4659, allocations: 89.05 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.059e-05/0.466, allocations: 89 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.064e-05/0.466, allocations: 0 / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.335e-05/0.466, allocations: 0 / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.394e-05/0.466, allocations: 8 kB / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.466, allocations: 0 / 1.021 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.767e-05/0.4661, allocations: 83.27 kB / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4661, allocations: 0 / 1.022 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001932/0.4663, allocations: 24 kB / 1.022 GB, free: 13.41 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.0003113/0.4666, allocations: 0.6241 MB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000182/0.4668, allocations: 127.3 kB / 1.022 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.4668, allocations: 3.938 kB / 1.022 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.117e-05/0.4668, allocations: 24.11 kB / 1.022 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001717/0.467, allocations: 9.891 kB / 1.022 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001132/0.4681, allocations: 1.387 MB / 1.024 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001724/0.4683, allocations: 0.6887 MB / 1.024 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.76e-05/0.4683, allocations: 3.906 kB / 1.024 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.4684, allocations: 19.42 kB / 1.024 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of SimCode: time 2.01e-07/0.4684, allocations: 0 / 1.024 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2957/0.7641, allocations: 1.838 MB / 1.026 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002057/0.7644, allocations: 218.5 kB / 1.026 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.62/2.385, allocations: 0 / 1.026 GB, free: 8.414 MB / 0.7794 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > 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