Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.001249/0.001249, 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.001491/0.001491, 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.9397/0.9397, allocations: 177.1 MB / 203.5 MB, free: 5.738 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.838/1.838, allocations: 389.6 MB / 0.6343 GB, free: 12.58 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.BooleanToReal,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 5.5e-06/5.5e-06, allocations: 0 / 1.001 GB, free: 13.57 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 5.886e-05/6.436e-05, allocations: 5.656 kB / 1.001 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal): time 0.00209/0.002155, allocations: 0.5985 MB / 1.001 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001476/0.003631, allocations: 1.124 MB / 1.002 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.012e-05/0.003681, allocations: 0 / 1.002 GB, free: 11.83 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.999e-05/0.003711, allocations: 3.938 kB / 1.002 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.221e-05/0.003783, allocations: 11.88 kB / 1.002 GB, free: 11.81 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.004231, allocations: 129.5 kB / 1.002 GB, free: 11.69 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001392/0.00437, allocations: 87.83 kB / 1.003 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 9.446e-05/0.004465, allocations: 11.92 kB / 1.003 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 8.506e-05/0.00455, allocations: 51.95 kB / 1.003 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 8.255e-05/0.004632, allocations: 27.84 kB / 1.003 GB, free: 11.52 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.004653, allocations: 8 kB / 1.003 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.939e-05/0.004712, allocations: 19.98 kB / 1.003 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.066e-05/0.004733, allocations: 4 kB / 1.003 GB, free: 11.48 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.912e-05/0.004782, allocations: 31.95 kB / 1.003 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001736/0.004956, allocations: 103.7 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.00496, allocations: 8 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.843e-06/0.004962, allocations: 0 / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.004967, allocations: 0 / 1.003 GB, free: 11.34 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.0004516/0.005419, allocations: 296 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/0.005474, allocations: 13.34 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.545e-05/0.005509, allocations: 34.75 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.005553, allocations: 4.938 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.965e-05/0.005652, allocations: 109.8 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.326e-05/0.005676, allocations: 4.359 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.005691, allocations: 8.375 kB / 1.003 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001002/0.005792, allocations: 38.25 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.005803, allocations: 8.125 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.005813, allocations: 384 / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.00582, allocations: 4.125 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.931e-05/0.00586, allocations: 12 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.006285, allocations: 248 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.351e-05/0.006359, allocations: 22.58 kB / 1.004 GB, free: 10.43 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.638e-05/0.006385, allocations: 8.922 kB / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 8.256e-06/0.006393, allocations: 0 / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001823/0.006576, allocations: 79.25 kB / 1.004 GB, free: 10.33 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.734e-06/0.006577, allocations: 4 kB / 1.004 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002068/0.006784, allocations: 73.62 kB / 1.004 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.006827, allocations: 51.41 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.166e-05/0.006919, allocations: 113.8 kB / 1.004 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.006937, allocations: 29.7 kB / 1.004 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.202e-05/0.006979, allocations: 92.02 kB / 1.004 GB, free: 9.934 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.006994, allocations: 11.91 kB / 1.004 GB, free: 9.922 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.386e-05/0.007038, allocations: 29.7 kB / 1.004 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.235e-05/0.00713, allocations: 318.8 kB / 1.004 GB, free: 9.566 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.437e-05/0.007205, allocations: 57.69 kB / 1.004 GB, free: 9.504 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.145e-05/0.007276, allocations: 88.25 kB / 1.004 GB, free: 9.402 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.926e-05/0.007355, allocations: 84.28 kB / 1.005 GB, free: 9.305 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.007359, allocations: 11.86 kB / 1.005 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001936/0.007553, allocations: 180.9 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/0.007589, allocations: 33.7 kB / 1.005 GB, free: 9.059 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.007595, allocations: 3.984 kB / 1.005 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.007608, allocations: 0 / 1.005 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.95e-05/0.007667, allocations: 4 kB / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.007673, allocations: 0 / 1.005 GB, free: 9.051 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001408/0.007814, allocations: 28.03 kB / 1.005 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.007828, allocations: 8 kB / 1.005 GB, free: 9.016 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: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.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 6.758e-05/0.007895, allocations: 113.8 kB / 1.005 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.187e-06/0.007905, allocations: 11.88 kB / 1.005 GB, free: 8.883 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.755e-05/0.007932, allocations: 12 kB / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.007935, allocations: 240 / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.007939, allocations: 0 / 1.005 GB, free: 8.863 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.007944, allocations: 3.984 kB / 1.005 GB, free: 8.859 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.533e-05/0.008029, allocations: 132.8 kB / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.00803, allocations: 0 / 1.005 GB, free: 8.688 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.049e-05/0.00804, allocations: 3.938 kB / 1.005 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.008044, allocations: 4 kB / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.00805, allocations: 0 / 1.005 GB, free: 8.68 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.008051, allocations: 3.938 kB / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.008052, allocations: 0 / 1.005 GB, free: 8.676 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.323e-05/0.008135, allocations: 85.11 kB / 1.005 GB, free: 8.574 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/0.008143, allocations: 11.89 kB / 1.005 GB, free: 8.562 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.008155, allocations: 4.062 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.067e-05/0.008166, allocations: 0 / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.95e-05/0.008195, allocations: 11.98 kB / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-06/0.008198, allocations: 0 / 1.005 GB, free: 8.547 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.417e-05/0.008233, allocations: 91.22 kB / 1.005 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008233, allocations: 0 / 1.005 GB, free: 8.457 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001426/0.008375, allocations: 15.94 kB / 1.005 GB, free: 8.441 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: 3 ($whenCondition1,$whenCondition2,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.0003321/0.008707, allocations: 0.6358 MB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001761/0.008883, allocations: 137.1 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.008885, allocations: 3.938 kB / 1.006 GB, free: 7.621 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.997e-05/0.008905, allocations: 8 kB / 1.006 GB, free: 7.613 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.009068, allocations: 16.11 kB / 1.006 GB, free: 7.598 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.01033, allocations: 1.512 MB / 1.008 GB, free: 5.957 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.365e-05/0.01037, allocations: 63.44 kB / 1.008 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.317e-05/0.0104, allocations: 11.88 kB / 1.008 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4e-05/0.01044, allocations: 12.5 kB / 1.008 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of SimCode: time 6.21e-07/0.01044, allocations: 0 / 1.008 GB, free: 5.852 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08079/0.09123, allocations: 2.759 MB / 1.01 GB, free: 3.258 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/7.178, allocations: 12.06 kB / 1.01 GB, free: 3.246 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_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_BooleanToReal.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.836014237254858]