Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_9_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.001508/0.001508, allocations: 108 kB / 15.6 MB, free: 132 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.001813/0.001813, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.401/1.401, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.376/2.376, allocations: 390.3 MB / 0.6647 GB, free: 456 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 59.91 kB / 0.8127 GB, free: 14.37 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6963/0.6978, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.00192/0.6997, allocations: 0.5904 MB / 0.9503 GB, free: 8.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.701, allocations: 1.117 MB / 0.9514 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.519e-05/0.701, allocations: 1.094 kB / 0.9514 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.391e-05/0.7011, allocations: 0 / 0.9514 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.935e-05/0.7011, allocations: 5.219 kB / 0.9514 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004625/0.7016, allocations: 117.1 kB / 0.9515 GB, free: 7.766 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001363/0.7018, allocations: 103.7 kB / 0.9516 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.7019, allocations: 7.734 kB / 0.9516 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.704e-05/0.702, allocations: 35.7 kB / 0.9517 GB, free: 7.684 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.283e-05/0.702, allocations: 35.39 kB / 0.9517 GB, free: 7.656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.329e-05/0.7021, allocations: 11.91 kB / 0.9517 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.707e-05/0.7021, allocations: 17.58 kB / 0.9517 GB, free: 7.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.762e-05/0.7022, allocations: 10.42 kB / 0.9517 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.044e-05/0.7022, allocations: 25.05 kB / 0.9518 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001367/0.7024, allocations: 87.75 kB / 0.9518 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.7024, allocations: 0 / 0.9518 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7024, allocations: 1.062 kB / 0.9518 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.7024, allocations: 0 / 0.9518 GB, free: 7.559 MB / 0.7169 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.0003504/0.7027, allocations: 378.4 kB / 0.9522 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.7028, allocations: 10.5 kB / 0.9522 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.439e-05/0.7028, allocations: 34.75 kB / 0.9522 GB, free: 7.109 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.366e-05/0.7029, allocations: 8.938 kB / 0.9522 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.385e-05/0.7029, allocations: 170.8 kB / 0.9524 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.703, allocations: 2.781 kB / 0.9524 GB, free: 6.902 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.126e-05/0.703, allocations: 9.531 kB / 0.9524 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.495e-05/0.7031, allocations: 36.16 kB / 0.9525 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.7031, allocations: 3.938 kB / 0.9525 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.7031, allocations: 0 / 0.9525 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.7031, allocations: 1.344 kB / 0.9525 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.524e-05/0.7031, allocations: 8.25 kB / 0.9525 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.7035, allocations: 296.8 kB / 0.9528 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.426e-05/0.7035, allocations: 36.58 kB / 0.9528 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.069e-05/0.7036, allocations: 13.33 kB / 0.9528 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.394e-06/0.7036, allocations: 0 / 0.9528 GB, free: 6.484 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.7037, allocations: 67.77 kB / 0.9529 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 1.923e-06/0.7037, allocations: 3.984 kB / 0.9529 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0001937/0.7039, allocations: 71.52 kB / 0.9529 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.704, allocations: 56.5 kB / 0.953 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.045e-05/0.704, allocations: 110.2 kB / 0.9531 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.7041, allocations: 28.55 kB / 0.9531 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.319e-05/0.7041, allocations: 86.83 kB / 0.9532 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.074e-05/0.7041, allocations: 5.344 kB / 0.9532 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/0.7042, allocations: 34.64 kB / 0.9532 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.236e-05/0.7042, allocations: 320 kB / 0.9536 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.695e-05/0.7043, allocations: 27.7 kB / 0.9536 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8e-05/0.7044, allocations: 53 kB / 0.9536 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.7045, allocations: 90.14 kB / 0.9537 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.7045, allocations: 4 kB / 0.9537 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002464/0.7048, allocations: 149.4 kB / 0.9539 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.418e-05/0.7048, allocations: 41.22 kB / 0.9539 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.7048, allocations: 0 / 0.9539 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.7049, allocations: 5.25 kB / 0.9539 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.202e-05/0.7049, allocations: 2.5 kB / 0.9539 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.7049, allocations: 1.312 kB / 0.9539 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002245/0.7052, allocations: 28.06 kB / 0.9539 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.7052, allocations: 12.64 kB / 0.9539 GB, free: 5.41 MB / 0.7169 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.883e-05/0.7053, allocations: 123.4 kB / 0.9541 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.7053, allocations: 5.062 kB / 0.9541 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.323e-05/0.7053, allocations: 4.969 kB / 0.9541 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.7053, allocations: 1.125 kB / 0.9541 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.7053, allocations: 1.094 kB / 0.9541 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.7053, allocations: 3.984 kB / 0.9541 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.807e-05/0.7054, allocations: 164.1 kB / 0.9542 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.7054, allocations: 1.219 kB / 0.9542 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.9e-05/0.7055, allocations: 5.25 kB / 0.9542 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.7055, allocations: 5.484 kB / 0.9542 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.053e-06/0.7055, allocations: 3.938 kB / 0.9543 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.7055, allocations: 1.125 kB / 0.9543 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7055, allocations: 0 / 0.9543 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.842e-05/0.7056, allocations: 81.97 kB / 0.9543 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.903e-05/0.7056, allocations: 82.55 kB / 0.9544 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.449e-05/0.7056, allocations: 9.5 kB / 0.9544 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.526e-05/0.7057, allocations: 11.98 kB / 0.9544 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.826e-05/0.7057, allocations: 1.656 kB / 0.9544 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.7057, allocations: 1.125 kB / 0.9544 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.936e-05/0.7057, allocations: 88.83 kB / 0.9545 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7057, allocations: 1.094 kB / 0.9545 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002312/0.706, allocations: 15.5 kB / 0.9545 GB, free: 4.773 MB / 0.7169 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.0003456/0.7063, allocations: 0.6278 MB / 0.9551 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002165/0.7066, allocations: 127.1 kB / 0.9553 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7066, allocations: 0 / 0.9553 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 3.639e-05/0.7066, allocations: 13.75 kB / 0.9553 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.7068, allocations: 11.58 kB / 0.9553 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.708, allocations: 1.39 MB / 0.9566 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.7082, allocations: 0.6837 MB / 0.9573 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.896e-05/0.7082, allocations: 2.406 kB / 0.9573 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.7083, allocations: 12.62 kB / 0.9573 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of SimCode: time 3.6e-07/0.7083, allocations: 0 / 0.9573 GB, free: 2.023 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/0.7325, allocations: 1.989 MB / 0.9593 GB, free: 0.9531 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.515/8.248, allocations: 11.62 kB / 0.9593 GB, free: 0.9453 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches