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: "" <> 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.001258/0.001258, 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.001221/0.001221, 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.244/1.244, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.451/2.451, allocations: 437 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 67.89 kB / 0.8694 GB, free: 4.531 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5029/0.5042, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00175/0.506, allocations: 0.6105 MB / 1.018 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001216/0.5072, allocations: 1.113 MB / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.5073, allocations: 0 / 1.019 GB, free: 0.7266 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 2.667e-05/0.5073, allocations: 3.938 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 5.247e-05/0.5074, allocations: 7.922 kB / 1.019 GB, free: 0.7148 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.5078, allocations: 119.3 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000126/0.508, allocations: 99.77 kB / 1.019 GB, free: 0.5039 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 7.8e-05/0.5081, allocations: 4 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.226e-05/0.5081, allocations: 35.97 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.352e-05/0.5082, allocations: 31.91 kB / 1.019 GB, free: 444 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.278e-05/0.5082, allocations: 8 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 6.217e-05/0.5083, allocations: 15.98 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.5083, allocations: 15.92 kB / 1.019 GB, free: 404 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.226e-05/0.5084, allocations: 27.91 kB / 1.019 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001344/0.5085, allocations: 87.78 kB / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.5085, allocations: 0 / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5086, allocations: 0 / 1.02 GB, free: 288 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.073e-06/0.5086, allocations: 0 / 1.02 GB, free: 288 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.000402/0.509, allocations: 383.3 kB / 1.02 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.509, allocations: 16.03 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.816e-05/0.509, allocations: 30.75 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.085e-05/0.5091, allocations: 8.844 kB / 1.02 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.24e-05/0.5092, allocations: 168.3 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.5092, allocations: 8.359 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.5092, allocations: 8.375 kB / 1.02 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.821e-05/0.5093, allocations: 38.25 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.5093, allocations: 3.938 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.903e-06/0.5093, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.477e-06/0.5094, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.091e-05/0.5094, allocations: 12 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.5097, allocations: 296.7 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.793e-05/0.5098, allocations: 30.52 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.301e-05/0.5098, allocations: 16.91 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.5099, allocations: 0 / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001068/0.51, allocations: 63.39 kB / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.51, allocations: 0 / 1.021 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0001729/0.5102, allocations: 65.62 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.5102, allocations: 59.41 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.112e-05/0.5103, allocations: 105.8 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.5103, allocations: 25.7 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.5104, allocations: 92.05 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.248e-05/0.5104, allocations: 11.89 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.098e-05/0.5104, allocations: 37.69 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.019e-05/0.5105, allocations: 314.8 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.289e-05/0.5106, allocations: 27.98 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.823e-05/0.5107, allocations: 50.55 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001087/0.5108, allocations: 92.22 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5108, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002356/0.5111, allocations: 151.3 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.209e-05/0.5111, allocations: 35.27 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5111, allocations: 4 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.5111, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.46e-05/0.5112, allocations: 0 / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.5112, allocations: 7.938 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.5114, allocations: 39.89 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.5114, allocations: 4 kB / 1.022 GB, free: 13.84 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 7.701e-05/0.5115, allocations: 121.7 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.5115, allocations: 7.906 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.5116, allocations: 7.891 kB / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.5116, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5116, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.5116, allocations: 0 / 1.022 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001039/0.5117, allocations: 165.6 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.5117, allocations: 4 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.768e-05/0.5117, allocations: 7.984 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.5117, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.5117, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5118, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.5118, allocations: 0 / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.5119, allocations: 93.22 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.5119, allocations: 81.02 kB / 1.022 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.5119, allocations: 7.984 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.437e-05/0.512, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.512, allocations: 4 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-06/0.512, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.392e-05/0.5121, allocations: 91.27 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5121, allocations: 0 / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002063/0.5123, allocations: 12 kB / 1.022 GB, free: 13.14 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.0003608/0.5126, allocations: 0.6326 MB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001962/0.5128, allocations: 123.3 kB / 1.023 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5129, allocations: 4 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.248e-05/0.5129, allocations: 12 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.5131, allocations: 7.984 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.5143, allocations: 1.405 MB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.5146, allocations: 0.6806 MB / 1.025 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.877e-05/0.5146, allocations: 4 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.05e-05/0.5146, allocations: 19.42 kB / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.5146, allocations: 0 / 1.025 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8436/1.358, allocations: 1.981 MB / 1.027 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.47/9.828, allocations: 8.016 kB / 1.027 GB, free: 8.227 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