Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007911/0.0007911, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.0008748/0.0008748, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9032/0.9032, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.78/1.78, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.158e-06/4.158e-06, allocations: 3.984 kB / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.816e-05/3.232e-05, allocations: 4.812 kB / 0.9996 GB, free: 13.51 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.001541/0.001574, allocations: 0.5907 MB / 1 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001127/0.0027, allocations: 1.132 MB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.293e-05/0.002743, allocations: 4 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.002772, allocations: 3.938 kB / 1.001 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.584e-05/0.002838, allocations: 4 kB / 1.001 GB, free: 11.76 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000494/0.003332, allocations: 134.5 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001538/0.003486, allocations: 87.88 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.003586, allocations: 7.984 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 9.146e-05/0.003678, allocations: 47.91 kB / 1.002 GB, free: 11.49 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001033/0.003781, allocations: 31.94 kB / 1.002 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.003805, allocations: 12 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.843e-05/0.003864, allocations: 16 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.003882, allocations: 3.938 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.423e-05/0.003927, allocations: 31.97 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001484/0.004075, allocations: 99.75 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.004077, allocations: 0 / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.044e-06/0.00408, allocations: 7.938 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.877e-06/0.004083, allocations: 0 / 1.002 GB, free: 11.29 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.0003883/0.004472, allocations: 296 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.004512, allocations: 16.69 kB / 1.002 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.707e-05/0.004539, allocations: 30.75 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.004577, allocations: 12.89 kB / 1.002 GB, free: 10.9 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.478e-05/0.004652, allocations: 113.7 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.004671, allocations: 4.375 kB / 1.002 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.004684, allocations: 4.375 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.198e-05/0.004766, allocations: 38.25 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.004774, allocations: 4.172 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.816e-06/0.004783, allocations: 384 / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.004791, allocations: 8.125 kB / 1.002 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.725e-05/0.004828, allocations: 8 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.005192, allocations: 248 kB / 1.003 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 6.735e-05/0.005259, allocations: 26.58 kB / 1.003 GB, free: 10.37 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.936e-05/0.005289, allocations: 16.92 kB / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.0053, allocations: 0 / 1.003 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001938/0.005493, allocations: 71.27 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.005494, allocations: 4 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0001861/0.005681, allocations: 69.62 kB / 1.003 GB, free: 10.19 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.005716, allocations: 51.41 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.144e-05/0.005788, allocations: 113.8 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.778e-05/0.005806, allocations: 25.7 kB / 1.003 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.418e-05/0.00585, allocations: 88.14 kB / 1.003 GB, free: 9.887 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.097e-05/0.005861, allocations: 11.94 kB / 1.003 GB, free: 9.875 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.712e-05/0.005908, allocations: 33.7 kB / 1.003 GB, free: 9.836 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.11e-05/0.005989, allocations: 318.8 kB / 1.003 GB, free: 9.516 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.355e-05/0.006063, allocations: 57.69 kB / 1.003 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.962e-05/0.006132, allocations: 84.5 kB / 1.003 GB, free: 9.355 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.74e-05/0.00621, allocations: 88.2 kB / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.006212, allocations: 0 / 1.004 GB, free: 9.254 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.00021/0.006422, allocations: 184.9 kB / 1.004 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.602e-05/0.006458, allocations: 41.75 kB / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.006464, allocations: 0 / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.006477, allocations: 0 / 1.004 GB, free: 9.008 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.058e-05/0.006538, allocations: 4 kB / 1.004 GB, free: 9.004 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.006544, allocations: 8 kB / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001466/0.006691, allocations: 31.91 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.62e-05/0.006707, allocations: 8 kB / 1.004 GB, free: 8.957 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 8.637e-05/0.006794, allocations: 117.8 kB / 1.004 GB, free: 8.832 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.006807, allocations: 15.89 kB / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.802e-05/0.006835, allocations: 4 kB / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.006839, allocations: 0 / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.006845, allocations: 0 / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.006848, allocations: 0 / 1.004 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.006962, allocations: 132.7 kB / 1.004 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.006964, allocations: 0 / 1.004 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.982e-05/0.006984, allocations: 11.94 kB / 1.004 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.006986, allocations: 0 / 1.004 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.006994, allocations: 64 / 1.004 GB, free: 8.621 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.006998, allocations: 7.984 kB / 1.004 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.007, allocations: 4 kB / 1.004 GB, free: 8.609 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001054/0.007106, allocations: 85.06 kB / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.105e-06/0.007114, allocations: 7.891 kB / 1.004 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.007127, allocations: 4.281 kB / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.092e-05/0.007138, allocations: 0 / 1.004 GB, free: 8.496 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.007174, allocations: 3.984 kB / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-06/0.007179, allocations: 0 / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.492e-05/0.007214, allocations: 87.28 kB / 1.004 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007214, allocations: 0 / 1.004 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00015/0.007364, allocations: 19.98 kB / 1.004 GB, free: 8.387 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.0003126/0.007676, allocations: 0.6319 MB / 1.005 GB, free: 7.727 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001777/0.007854, allocations: 141.1 kB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.007856, allocations: 0 / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.45e-05/0.007881, allocations: 19.92 kB / 1.005 GB, free: 7.551 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.008043, allocations: 14.17 kB / 1.005 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001069/0.009112, allocations: 1.512 MB / 1.007 GB, free: 5.898 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.193e-05/0.009154, allocations: 63.47 kB / 1.007 GB, free: 5.816 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 2.271e-05/0.009177, allocations: 8 kB / 1.007 GB, free: 5.809 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.378e-05/0.009211, allocations: 16.48 kB / 1.007 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of SimCode: time 1.022e-06/0.009212, allocations: 0 / 1.007 GB, free: 5.793 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01408/0.02329, allocations: 2.76 MB / 1.009 GB, free: 3.191 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.743/6.766, allocations: 11.92 kB / 1.009 GB, free: 3.18 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv --start-time 0 --stop-time 4 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 Buildings_latest_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv. Warning: Get data of variable booToInt.u from file Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.948150249198079]