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.01443/0.01443, allocations: 100 kB / 15.73 MB, free: 6.059 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.001877/0.001878, allocations: 189.4 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.674/2.674, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 4.386/4.386, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002844/0.002844, allocations: 63.89 kB / 0.9504 GB, free: 8.141 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.886/1.889, allocations: 140.4 MB / 1.087 GB, free: 5.262 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.004014/1.893, allocations: 0.6154 MB / 1.088 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002566/1.895, allocations: 1.11 MB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.461e-05/1.895, allocations: 0 / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.349e-05/1.896, allocations: 0.9375 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001165/1.896, allocations: 5.75 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009129/1.897, allocations: 130.4 kB / 1.089 GB, free: 3.992 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002776/1.897, allocations: 99.81 kB / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/1.897, allocations: 5.359 kB / 1.089 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/1.897, allocations: 38.56 kB / 1.089 GB, free: 3.934 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001596/1.897, allocations: 31.42 kB / 1.089 GB, free: 3.922 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.995e-05/1.897, allocations: 16.09 kB / 1.089 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/1.898, allocations: 24.84 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.719e-05/1.898, allocations: 3.453 kB / 1.089 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.128e-05/1.898, allocations: 30.75 kB / 1.089 GB, free: 3.891 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003005/1.898, allocations: 79.77 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.898, allocations: 0 / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.934e-06/1.898, allocations: 0.9062 kB / 1.09 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.025e-06/1.898, allocations: 0 / 1.09 GB, free: 3.867 MB / 0.8575 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.000584/1.899, allocations: 381.7 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/1.899, allocations: 9.719 kB / 1.09 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/1.899, allocations: 35.73 kB / 1.09 GB, free: 3.426 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/1.899, allocations: 9.562 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/1.899, allocations: 176.1 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.911e-05/1.899, allocations: 2.75 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/1.899, allocations: 5.781 kB / 1.09 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/1.899, allocations: 40.14 kB / 1.09 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.065e-05/1.899, allocations: 3.938 kB / 1.09 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/1.899, allocations: 0.5625 kB / 1.09 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-06/1.899, allocations: 1.188 kB / 1.09 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.549e-05/1.899, allocations: 5.906 kB / 1.09 GB, free: 3.176 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005912/1.9, allocations: 298.7 kB / 1.091 GB, free: 2.883 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/1.9, allocations: 30.77 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.191e-05/1.9, allocations: 9.75 kB / 1.091 GB, free: 2.844 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/1.9, allocations: 3.938 kB / 1.091 GB, free: 2.84 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/1.9, allocations: 66.72 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 2.164e-06/1.9, allocations: 1.125 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003272/1.901, allocations: 76.52 kB / 1.091 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.629e-05/1.901, allocations: 52.72 kB / 1.091 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001086/1.901, allocations: 107.4 kB / 1.091 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/1.901, allocations: 27.92 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.727e-05/1.901, allocations: 88.05 kB / 1.091 GB, free: 2.449 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/1.901, allocations: 9.531 kB / 1.091 GB, free: 2.441 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/1.901, allocations: 30.55 kB / 1.091 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.982e-05/1.901, allocations: 322.3 kB / 1.091 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/1.901, allocations: 28.91 kB / 1.091 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/1.902, allocations: 50.12 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/1.902, allocations: 89.17 kB / 1.091 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/1.902, allocations: 0 / 1.091 GB, free: 1.98 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004897/1.902, allocations: 154.1 kB / 1.092 GB, free: 1.883 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 5.936e-05/1.902, allocations: 39.36 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/1.902, allocations: 0 / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/1.902, allocations: 2.328 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.035e-05/1.902, allocations: 8.078 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/1.902, allocations: 400 / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003435/1.903, allocations: 25.39 kB / 1.092 GB, free: 1.844 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/1.903, allocations: 6.469 kB / 1.092 GB, free: 1.844 MB / 0.8575 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.0001039/1.903, allocations: 127.6 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/1.903, allocations: 5.969 kB / 1.092 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.443e-05/1.903, allocations: 14.31 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.903, allocations: 0 / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.034e-06/1.903, allocations: 0.9375 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/1.903, allocations: 0.5625 kB / 1.092 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/1.903, allocations: 167.5 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/1.903, allocations: 1.344 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.074e-05/1.903, allocations: 1.906 kB / 1.092 GB, free: 1.492 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/1.903, allocations: 5.219 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/1.903, allocations: 0.5156 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/1.903, allocations: 5.281 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/1.903, allocations: 4.734 kB / 1.092 GB, free: 1.48 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/1.904, allocations: 91.8 kB / 1.092 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/1.904, allocations: 82.77 kB / 1.092 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/1.904, allocations: 0.7031 kB / 1.092 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.794e-05/1.904, allocations: 1.922 kB / 1.092 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.255e-05/1.904, allocations: 6.391 kB / 1.092 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/1.904, allocations: 2.25 kB / 1.092 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.118e-05/1.904, allocations: 91.2 kB / 1.092 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.5e-07/1.904, allocations: 0 / 1.092 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004523/1.904, allocations: 15.11 kB / 1.092 GB, free: 1.215 MB / 0.8575 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.0005509/1.905, allocations: 0.63 MB / 1.093 GB, free: 16.61 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004145/1.905, allocations: 126.7 kB / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.905, allocations: 0 / 1.093 GB, free: 16.52 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.793e-05/1.905, allocations: 14.53 kB / 1.093 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003608/1.906, allocations: 7.453 kB / 1.093 GB, free: 16.51 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002703/1.908, allocations: 1.397 MB / 1.094 GB, free: 15.24 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004167/1.909, allocations: 0.6795 MB / 1.095 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.047e-05/1.909, allocations: 3.531 kB / 1.095 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/1.909, allocations: 14.12 kB / 1.095 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of SimCode: time 1.122e-06/1.909, allocations: 0 / 1.095 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03848/1.948, allocations: 2.027 MB / 1.097 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.785/11.73, allocations: 6.469 kB / 1.097 GB, free: 14.11 MB / 0.8731 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 & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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.csv","/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