Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001131/0.001131, allocations: 108.3 kB / 19.72 MB, free: 420 kB / 13.93 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.001249/0.001249, allocations: 221.6 kB / 23.02 MB, free: 2.957 MB / 13.93 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 0.9651/0.9651, allocations: 230.6 MB / 256.8 MB, free: 9.609 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.06/2.06, allocations: 0.5046 GB / 0.8104 GB, free: 2.602 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 67.89 kB / 1.177 GB, free: 11.97 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8152/0.8163, allocations: 180 MB / 1.352 GB, free: 1.68 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001526/0.8178, allocations: 0.5978 MB / 1.353 GB, free: 1.086 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.8191, allocations: 1.124 MB / 1.354 GB, free: 15.95 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.21e-05/0.8192, allocations: 4 kB / 1.354 GB, free: 15.95 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 4.048e-05/0.8193, allocations: 3.938 kB / 1.354 GB, free: 15.94 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 7.987e-05/0.8193, allocations: 3.938 kB / 1.354 GB, free: 15.94 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005305/0.8199, allocations: 127 kB / 1.354 GB, free: 15.82 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001654/0.82, allocations: 87.83 kB / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.8201, allocations: 7.984 kB / 1.354 GB, free: 15.72 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.798e-05/0.8202, allocations: 35.97 kB / 1.354 GB, free: 15.69 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.985e-05/0.8203, allocations: 27.91 kB / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.8203, allocations: 11.94 kB / 1.354 GB, free: 15.65 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.656e-05/0.8204, allocations: 19.97 kB / 1.354 GB, free: 15.63 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.077e-05/0.8204, allocations: 8 kB / 1.354 GB, free: 15.62 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 4.751e-05/0.8205, allocations: 27.86 kB / 1.354 GB, free: 15.59 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.8206, allocations: 94.03 kB / 1.355 GB, free: 15.5 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.8206, allocations: 0 / 1.355 GB, free: 15.5 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.014e-06/0.8206, allocations: 0 / 1.355 GB, free: 15.5 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.8206, allocations: 4 kB / 1.355 GB, free: 15.5 MB / 1.042 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.0004116/0.821, allocations: 303.9 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.8211, allocations: 8.922 kB / 1.355 GB, free: 15.16 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.791e-05/0.8211, allocations: 38.67 kB / 1.355 GB, free: 15.11 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.8212, allocations: 8.938 kB / 1.355 GB, free: 15.1 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003583/0.8215, allocations: 110.5 kB / 1.355 GB, free: 14.97 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.8215, allocations: 4.375 kB / 1.355 GB, free: 14.96 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.8216, allocations: 4.375 kB / 1.355 GB, free: 14.96 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.057e-05/0.8216, allocations: 46.19 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.8217, allocations: 3.938 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.786e-06/0.8217, allocations: 0 / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.8217, allocations: 4 kB / 1.355 GB, free: 14.9 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.685e-05/0.8217, allocations: 11.98 kB / 1.355 GB, free: 14.89 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.8221, allocations: 244 kB / 1.355 GB, free: 14.61 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.311e-05/0.8221, allocations: 22.52 kB / 1.355 GB, free: 14.58 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.584e-05/0.8221, allocations: 20.84 kB / 1.355 GB, free: 14.55 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.809e-06/0.8222, allocations: 0 / 1.355 GB, free: 14.55 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/0.8223, allocations: 75.36 kB / 1.355 GB, free: 14.47 MB / 1.042 GB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.8223, allocations: 0 / 1.355 GB, free: 14.47 MB / 1.042 GB Notification: Performance of matching and sorting (n=4): time 0.0001873/0.8225, allocations: 65.64 kB / 1.355 GB, free: 14.4 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.805e-05/0.8226, allocations: 59.34 kB / 1.356 GB, free: 14.33 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.525e-05/0.8226, allocations: 113.8 kB / 1.356 GB, free: 14.21 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.8226, allocations: 25.7 kB / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.567e-05/0.8227, allocations: 88.14 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.8227, allocations: 11.88 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.733e-05/0.8228, allocations: 33.7 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.834e-05/0.8228, allocations: 314.8 kB / 1.356 GB, free: 13.72 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.87e-05/0.8229, allocations: 61.67 kB / 1.356 GB, free: 13.65 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.569e-05/0.823, allocations: 84.27 kB / 1.356 GB, free: 13.55 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.71e-05/0.8231, allocations: 88.14 kB / 1.356 GB, free: 13.45 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.8231, allocations: 0 / 1.356 GB, free: 13.45 MB / 1.042 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002189/0.8233, allocations: 181 kB / 1.356 GB, free: 13.26 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 4.274e-05/0.8234, allocations: 41.69 kB / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.8234, allocations: 0 / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.8234, allocations: 4 kB / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.354e-05/0.8235, allocations: 0 / 1.357 GB, free: 13.21 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.8235, allocations: 4.062 kB / 1.357 GB, free: 13.2 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001445/0.8236, allocations: 31.91 kB / 1.357 GB, free: 13.17 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.8236, allocations: 11.92 kB / 1.357 GB, free: 13.16 MB / 1.042 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 8.017e-05/0.8237, allocations: 118.3 kB / 1.357 GB, free: 13.04 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.408e-06/0.8237, allocations: 4 kB / 1.357 GB, free: 13.03 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.8237, allocations: 4 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.8237, allocations: 0 / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.8237, allocations: 64 / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.8237, allocations: 4 kB / 1.357 GB, free: 13.02 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001012/0.8238, allocations: 148.6 kB / 1.357 GB, free: 12.83 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/0.8239, allocations: 0 / 1.357 GB, free: 12.83 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.797e-05/0.8239, allocations: 7.938 kB / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.8239, allocations: 0 / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.8239, allocations: 0 / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.8239, allocations: 0 / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.8239, allocations: 0 / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/0.824, allocations: 85.06 kB / 1.357 GB, free: 12.72 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-06/0.824, allocations: 3.984 kB / 1.357 GB, free: 12.72 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.294e-05/0.824, allocations: 4 kB / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.786e-05/0.824, allocations: 4 kB / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.959e-05/0.8241, allocations: 4 kB / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.8241, allocations: 4 kB / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.363e-05/0.8241, allocations: 87.27 kB / 1.357 GB, free: 12.62 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.8241, allocations: 0 / 1.357 GB, free: 12.62 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001709/0.8243, allocations: 19.95 kB / 1.357 GB, free: 12.6 MB / 1.042 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.0003454/0.8246, allocations: 0.6241 MB / 1.358 GB, free: 11.95 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002116/0.8248, allocations: 145 kB / 1.358 GB, free: 11.79 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.8248, allocations: 4 kB / 1.358 GB, free: 11.78 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 2.332e-05/0.8249, allocations: 16.53 kB / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001944/0.8251, allocations: 11.98 kB / 1.358 GB, free: 11.75 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.8262, allocations: 1.513 MB / 1.359 GB, free: 10.11 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.41e-05/0.8263, allocations: 71.31 kB / 1.359 GB, free: 10.02 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 3.131e-05/0.8263, allocations: 11.88 kB / 1.359 GB, free: 10.01 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.812e-05/0.8264, allocations: 15.44 kB / 1.359 GB, free: 9.996 MB / 1.042 GB Notification: Performance of SimCode: time 7.81e-07/0.8264, allocations: 0 / 1.359 GB, free: 9.996 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08344/0.9098, allocations: 2.63 MB / 1.362 GB, free: 7.535 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.272/8.182, allocations: 5.031 kB / 1.362 GB, free: 7.535 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_fmpy_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ../Buildings_13_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.206362346187234]