Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001579/0.001579, allocations: 214.8 kB / 22.25 MB, free: 5.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.927/2.927, allocations: 476.7 MB / 0.7707 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 69.12 kB / 1.117 GB, free: 40.37 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3259/0.3279, allocations: 170 MB / 1.283 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001764/0.3297, allocations: 0.6101 MB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.3312, allocations: 1.149 MB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.083e-05/0.3313, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.593e-05/0.3313, allocations: 0 / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.859e-05/0.3314, allocations: 19.84 kB / 1.285 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.3319, allocations: 126.6 kB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001661/0.332, allocations: 87.83 kB / 1.285 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.034e-05/0.3321, allocations: 8 kB / 1.285 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.825e-05/0.3322, allocations: 35.91 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.3323, allocations: 35.89 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.201e-05/0.3323, allocations: 8 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.559e-05/0.3324, allocations: 19.98 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.999e-05/0.3324, allocations: 7.938 kB / 1.285 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.217e-05/0.3325, allocations: 39.91 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.3326, allocations: 83.3 kB / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3326, allocations: 0 / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.214e-06/0.3326, allocations: 0 / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.037e-05/0.3327, allocations: 0 / 1.286 GB, free: 9.566 MB / 0.9825 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.0005327/0.3332, allocations: 300 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.761e-05/0.3332, allocations: 8.031 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.3333, allocations: 42.69 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.815e-05/0.3333, allocations: 12.88 kB / 1.286 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.3335, allocations: 106.5 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.623e-05/0.3335, allocations: 8.375 kB / 1.286 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/0.3335, allocations: 4.375 kB / 1.286 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.3337, allocations: 42.25 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.3337, allocations: 7.922 kB / 1.286 GB, free: 8.969 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3337, allocations: 4 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3337, allocations: 0 / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.415e-05/0.3337, allocations: 8 kB / 1.286 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004953/0.3342, allocations: 263.9 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.572e-05/0.3343, allocations: 34.52 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.529e-05/0.3343, allocations: 4.859 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.3344, allocations: 4.062 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002067/0.3346, allocations: 59.34 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.3346, allocations: 4 kB / 1.286 GB, free: 8.527 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002484/0.3348, allocations: 73.61 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.3349, allocations: 55.41 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.335, allocations: 105.8 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.219e-05/0.335, allocations: 37.64 kB / 1.287 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.551e-05/0.3351, allocations: 84.14 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.819e-05/0.3351, allocations: 7.906 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.108e-05/0.3352, allocations: 33.7 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001965/0.3354, allocations: 318.8 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.583e-05/0.3355, allocations: 35.98 kB / 1.287 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.351e-05/0.3356, allocations: 46.55 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.3357, allocations: 92.14 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.3357, allocations: 0 / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002979/0.336, allocations: 147.3 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.993e-05/0.3361, allocations: 43.56 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.3361, allocations: 8 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.3361, allocations: 0 / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.067e-05/0.3362, allocations: 0 / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/0.3362, allocations: 7.938 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000206/0.3364, allocations: 27.97 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.3364, allocations: 7.984 kB / 1.287 GB, free: 7.324 MB / 0.9825 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.0001057/0.3365, allocations: 117.7 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.287e-05/0.3365, allocations: 11.95 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.674e-05/0.3366, allocations: 8 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3366, allocations: 0 / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3366, allocations: 0 / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3366, allocations: 0 / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.3368, allocations: 136.7 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3368, allocations: 0 / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.317e-05/0.3368, allocations: 8.062 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.3368, allocations: 0 / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.3369, allocations: 4 kB / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3369, allocations: 0 / 1.288 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/0.3369, allocations: 11.98 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000137/0.337, allocations: 85 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.033e-05/0.337, allocations: 3.953 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.337, allocations: 0 / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.609e-05/0.337, allocations: 4 kB / 1.288 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.493e-05/0.3371, allocations: 4.266 kB / 1.288 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.3371, allocations: 7.938 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.733e-05/0.3371, allocations: 87.28 kB / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3371, allocations: 0 / 1.288 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002351/0.3374, allocations: 23.98 kB / 1.288 GB, free: 6.746 MB / 0.9825 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.0005186/0.3379, allocations: 0.6163 MB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002524/0.3381, allocations: 119.4 kB / 1.289 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3381, allocations: 4 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.264e-05/0.3382, allocations: 8 kB / 1.289 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002144/0.3384, allocations: 20.48 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001538/0.3399, allocations: 1.389 MB / 1.29 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.3403, allocations: 0.6807 MB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.157e-05/0.3403, allocations: 4 kB / 1.291 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.205e-05/0.3403, allocations: 19.42 kB / 1.291 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3403, allocations: 0 / 1.291 GB, free: 3.719 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02942/0.3697, allocations: 2.126 MB / 1.293 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/11.1, allocations: 7.047 kB / 1.293 GB, free: 1.742 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv --start-time 0 --stop-time 4 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_11_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable booToInt.u in file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv. Warning: Get data of variable booToInt.u from file Buildings_11_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.945405327000117]