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.0007936/0.0007936, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.0007911/0.0007911, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.9684/0.9684, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.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 1.854/1.854, allocations: 389.6 MB / 0.6343 GB, free: 12.57 MB / 0.6042 GB " [Timeout remaining time 178] 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 2.695e-06/2.695e-06, allocations: 3.984 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.76e-05, allocations: 5.516 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001104/0.001121, allocations: 0.5947 MB / 1.001 GB, free: 12.9 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.002206, allocations: 1.132 MB / 1.002 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.731e-05/0.002244, allocations: 0 / 1.002 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.55e-05/0.002269, allocations: 3.938 kB / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.771e-05/0.002327, allocations: 4 kB / 1.002 GB, free: 11.75 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003524/0.002679, allocations: 133.9 kB / 1.002 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.002799, allocations: 91.88 kB / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 7.915e-05/0.002878, allocations: 7.969 kB / 1.003 GB, free: 11.53 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.077e-05/0.002959, allocations: 51.91 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.541e-05/0.003034, allocations: 23.95 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.003054, allocations: 8 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.163e-05/0.003105, allocations: 27.92 kB / 1.003 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.614e-05/0.003121, allocations: 3.938 kB / 1.003 GB, free: 11.41 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.004e-05/0.003161, allocations: 31.97 kB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.003292, allocations: 99.75 kB / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.774e-06/0.003294, allocations: 0 / 1.003 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.422e-06/0.003296, allocations: 8 kB / 1.003 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.003299, allocations: 0 / 1.003 GB, free: 11.28 MB / 0.9636 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.000342/0.003641, allocations: 299.9 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.003681, allocations: 13.34 kB / 1.003 GB, free: 10.93 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.756e-05/0.003708, allocations: 30.75 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.003741, allocations: 8.938 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.31e-05/0.003814, allocations: 117.7 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.003831, allocations: 4.375 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/0.003844, allocations: 4.375 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.092e-05/0.003925, allocations: 42.19 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.374e-06/0.003932, allocations: 4.188 kB / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.00394, allocations: 384 / 1.003 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.82e-06/0.003946, allocations: 8.125 kB / 1.003 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.178e-05/0.003977, allocations: 11.94 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.004271, allocations: 248 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.839e-05/0.004319, allocations: 22.58 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.808e-05/0.004337, allocations: 8.922 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.052e-06/0.004343, allocations: 0 / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001004/0.004444, allocations: 71.27 kB / 1.004 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 7.91e-07/0.004445, allocations: 4 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001505/0.004595, allocations: 77.62 kB / 1.004 GB, free: 10.17 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.004623, allocations: 51.41 kB / 1.004 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.472e-05/0.004688, allocations: 109.8 kB / 1.004 GB, free: 9.992 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.004704, allocations: 29.7 kB / 1.004 GB, free: 9.957 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.71e-05/0.004742, allocations: 84.14 kB / 1.004 GB, free: 9.871 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 8.596e-06/0.00475, allocations: 3.953 kB / 1.004 GB, free: 9.867 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.004792, allocations: 37.7 kB / 1.004 GB, free: 9.824 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.928e-05/0.004871, allocations: 314.8 kB / 1.004 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.384e-05/0.004935, allocations: 61.62 kB / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.6e-05/0.005001, allocations: 80.25 kB / 1.004 GB, free: 9.348 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.486e-05/0.005076, allocations: 92.33 kB / 1.005 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.005077, allocations: 0 / 1.005 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001732/0.005251, allocations: 188.9 kB / 1.005 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.005277, allocations: 37.69 kB / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.005282, allocations: 0 / 1.005 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.005292, allocations: 3.938 kB / 1.005 GB, free: 8.992 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.395e-05/0.005336, allocations: 4 kB / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.005341, allocations: 3.938 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.005462, allocations: 28.03 kB / 1.005 GB, free: 8.957 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.005473, allocations: 8 kB / 1.005 GB, free: 8.949 MB / 0.9636 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.857e-05/0.005531, allocations: 117.8 kB / 1.005 GB, free: 8.824 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.404e-06/0.005539, allocations: 11.89 kB / 1.005 GB, free: 8.812 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.005562, allocations: 8 kB / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.005564, allocations: 0 / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.005568, allocations: 0 / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.005571, allocations: 240 / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.098e-05/0.005642, allocations: 132.7 kB / 1.005 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.12e-07/0.005643, allocations: 7.938 kB / 1.005 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.906e-06/0.005652, allocations: 7.938 kB / 1.005 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.005654, allocations: 3.984 kB / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-06/0.00566, allocations: 0 / 1.005 GB, free: 8.605 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.005661, allocations: 3.984 kB / 1.005 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.11e-07/0.005662, allocations: 0 / 1.005 GB, free: 8.602 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.391e-05/0.005736, allocations: 85.06 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 6.612e-06/0.005742, allocations: 7.891 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.005754, allocations: 8 kB / 1.005 GB, free: 8.484 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-06/0.005763, allocations: 4 kB / 1.005 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.452e-05/0.005787, allocations: 3.984 kB / 1.005 GB, free: 8.477 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.005791, allocations: 4 kB / 1.005 GB, free: 8.473 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.099e-05/0.005822, allocations: 87.28 kB / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005822, allocations: 0 / 1.005 GB, free: 8.387 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001399/0.005962, allocations: 23.92 kB / 1.005 GB, free: 8.363 MB / 0.9636 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.000519/0.006481, allocations: 0.6241 MB / 1.006 GB, free: 7.711 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001513/0.006632, allocations: 137.1 kB / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.006633, allocations: 0 / 1.006 GB, free: 7.559 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.311e-05/0.006656, allocations: 19.92 kB / 1.006 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001446/0.006801, allocations: 12.12 kB / 1.006 GB, free: 7.527 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001068/0.007869, allocations: 1.508 MB / 1.008 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.537e-05/0.007904, allocations: 63.34 kB / 1.008 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 1.78e-05/0.007922, allocations: 4 kB / 1.008 GB, free: 5.805 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.00795, allocations: 16.48 kB / 1.008 GB, free: 5.789 MB / 0.9636 GB Notification: Performance of SimCode: time 7.12e-07/0.007951, allocations: 4 kB / 1.008 GB, free: 5.785 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07477/0.08272, allocations: 2.769 MB / 1.01 GB, free: 3.18 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.256/7.338, allocations: 6.953 kB / 1.01 GB, free: 3.18 MB / 0.9636 GB " [Timeout remaining time 293] (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: 11.971986899152398]