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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 105.8 kB / 17.54 MB, free: 4.777 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 186.6 kB / 20.71 MB, free: 1.621 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 225.6 MB / 249.3 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.477/2.477, allocations: 476.7 MB / 0.7628 GB, free: 15.13 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 63.91 kB / 1.107 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.808/0.8098, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001624/0.8114, allocations: 0.6211 MB / 1.272 GB, free: 7.336 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.8125, allocations: 1.116 MB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.73e-05/0.8126, allocations: 0.9688 kB / 1.273 GB, free: 6.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.8126, allocations: 4.734 kB / 1.273 GB, free: 6.52 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.313e-05/0.8127, allocations: 5.562 kB / 1.273 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004155/0.8131, allocations: 120.5 kB / 1.273 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.8132, allocations: 95.7 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.715e-05/0.8133, allocations: 3.797 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.404e-05/0.8134, allocations: 37.41 kB / 1.273 GB, free: 6.398 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.42e-05/0.8135, allocations: 40.33 kB / 1.273 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.198e-05/0.8135, allocations: 7.938 kB / 1.273 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.403e-05/0.8135, allocations: 22.19 kB / 1.273 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.8136, allocations: 2.641 kB / 1.273 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.254e-05/0.8136, allocations: 30.88 kB / 1.273 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001547/0.8138, allocations: 85.92 kB / 1.273 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8138, allocations: 4.703 kB / 1.273 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8138, allocations: 3.938 kB / 1.273 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.8138, allocations: 0 / 1.273 GB, free: 6.324 MB / 0.9981 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.000344/0.8141, allocations: 378.8 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.8142, allocations: 9.719 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.651e-05/0.8142, allocations: 39.44 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.818e-05/0.8142, allocations: 4.938 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.292e-05/0.8143, allocations: 171.8 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.003e-05/0.8143, allocations: 2.688 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.912e-05/0.8143, allocations: 7.547 kB / 1.274 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.943e-05/0.8144, allocations: 38.42 kB / 1.274 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.8144, allocations: 3.938 kB / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-06/0.8144, allocations: 4.984 kB / 1.274 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.8144, allocations: 8.812 kB / 1.274 GB, free: 5.625 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.41e-05/0.8145, allocations: 10.28 kB / 1.274 GB, free: 5.621 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002838/0.8148, allocations: 292.4 kB / 1.274 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.318e-05/0.8148, allocations: 28.64 kB / 1.274 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.098e-05/0.8148, allocations: 10.58 kB / 1.274 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.8148, allocations: 0 / 1.274 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001033/0.8149, allocations: 65.8 kB / 1.275 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.8149, allocations: 0 / 1.275 GB, free: 5.238 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0001702/0.8151, allocations: 73.84 kB / 1.275 GB, free: 5.191 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.151e-05/0.8151, allocations: 52.22 kB / 1.275 GB, free: 5.129 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.631e-05/0.8152, allocations: 106.9 kB / 1.275 GB, free: 5.027 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.8152, allocations: 28.14 kB / 1.275 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.246e-05/0.8152, allocations: 86.83 kB / 1.275 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.388e-06/0.8152, allocations: 10.77 kB / 1.275 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.8153, allocations: 35.39 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.056e-05/0.8153, allocations: 317.7 kB / 1.275 GB, free: 4.562 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.213e-05/0.8154, allocations: 27.73 kB / 1.275 GB, free: 4.555 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.359e-05/0.8155, allocations: 59.27 kB / 1.275 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.244e-05/0.8156, allocations: 88.75 kB / 1.275 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8156, allocations: 0 / 1.275 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002203/0.8158, allocations: 155.4 kB / 1.276 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.8158, allocations: 34.8 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.8158, allocations: 0.8438 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.8158, allocations: 2.219 kB / 1.276 GB, free: 4.305 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.466e-05/0.8159, allocations: 6.312 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.8159, allocations: 1.719 kB / 1.276 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/0.8161, allocations: 28.22 kB / 1.276 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.771e-05/0.8161, allocations: 15.56 kB / 1.276 GB, free: 4.289 MB / 0.9981 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 5.182e-05/0.8161, allocations: 115.1 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.8162, allocations: 2.438 kB / 1.276 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.277e-05/0.8162, allocations: 9.812 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.8162, allocations: 0.875 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.8162, allocations: 0 / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.8162, allocations: 0.9062 kB / 1.276 GB, free: 4.156 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.808e-05/0.8163, allocations: 167.4 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.8163, allocations: 4 kB / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.495e-05/0.8163, allocations: 4.844 kB / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.8163, allocations: 0 / 1.276 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.8163, allocations: 5 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.8163, allocations: 1 kB / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.8163, allocations: 0 / 1.276 GB, free: 3.949 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.991e-05/0.8164, allocations: 95.39 kB / 1.276 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.549e-05/0.8164, allocations: 79.8 kB / 1.276 GB, free: 3.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.8164, allocations: 9.719 kB / 1.276 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.319e-05/0.8164, allocations: 0 / 1.276 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.979e-05/0.8164, allocations: 3.312 kB / 1.276 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.14e-06/0.8164, allocations: 2.312 kB / 1.276 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.413e-05/0.8165, allocations: 87.75 kB / 1.276 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.8165, allocations: 0 / 1.276 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001976/0.8167, allocations: 15 kB / 1.276 GB, free: 3.684 MB / 0.9981 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.0002526/0.8169, allocations: 0.6407 MB / 1.277 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0001868/0.8171, allocations: 109.5 kB / 1.277 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.8171, allocations: 0 / 1.277 GB, free: 2.984 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 3.274e-05/0.8171, allocations: 17.91 kB / 1.277 GB, free: 2.977 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001765/0.8173, allocations: 14.98 kB / 1.277 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.8184, allocations: 1.396 MB / 1.278 GB, free: 17.7 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002733/0.8187, allocations: 0.6796 MB / 1.279 GB, free: 17.01 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 1.925e-05/0.8187, allocations: 3.984 kB / 1.279 GB, free: 17.01 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.657e-05/0.8187, allocations: 16.17 kB / 1.279 GB, free: 17 MB / 1.014 GB Notification: Performance of SimCode: time 3.2e-07/0.8187, allocations: 0 / 1.279 GB, free: 17 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02596/0.8447, allocations: 1.992 MB / 1.281 GB, free: 16.58 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.017/7.862, allocations: 9.203 kB / 1.281 GB, free: 16.58 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.190900924004382]