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.001893/0.001893, allocations: 104.4 kB / 19.7 MB, free: 2.125 MB / 14.72 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.00232/0.00232, allocations: 216.9 kB / 22.99 MB, free: 4.945 MB / 14.72 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 1.522/1.522, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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 3.268/3.268, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|booToInt.u|booToInt.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00276/0.00276, allocations: 78.42 kB / 1.187 GB, free: 13.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4256, allocations: 181.9 MB / 1.365 GB, free: 13.66 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger): time 0.002312/0.4279, allocations: 0.6022 MB / 1.365 GB, free: 13.05 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.4298, allocations: 1.124 MB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.155e-05/0.4299, allocations: 0 / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.542e-05/0.4299, allocations: 3.938 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.43e-05/0.43, allocations: 7.922 kB / 1.366 GB, free: 11.9 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.4305, allocations: 126.3 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.4307, allocations: 95.81 kB / 1.367 GB, free: 11.69 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.963e-05/0.4308, allocations: 7.984 kB / 1.367 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.728e-05/0.4309, allocations: 31.98 kB / 1.367 GB, free: 11.65 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.431, allocations: 35.81 kB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.431, allocations: 8 kB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 7.322e-05/0.4311, allocations: 20 kB / 1.367 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.075e-05/0.4311, allocations: 3.984 kB / 1.367 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.073e-05/0.4311, allocations: 35.91 kB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.4313, allocations: 91.66 kB / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.4313, allocations: 4 kB / 1.367 GB, free: 11.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4313, allocations: 0 / 1.367 GB, free: 11.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.4313, allocations: 0 / 1.367 GB, free: 11.45 MB / 1.061 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.000502/0.4318, allocations: 296 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.4319, allocations: 11.97 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.272e-05/0.4319, allocations: 4.938 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.4321, allocations: 118.4 kB / 1.367 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.4321, allocations: 4.375 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.492e-05/0.4321, allocations: 4.375 kB / 1.367 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001105/0.4322, allocations: 46.19 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.4322, allocations: 192 / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.4322, allocations: 3.938 kB / 1.367 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.4323, allocations: 4 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.642e-05/0.4323, allocations: 11.92 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004297/0.4327, allocations: 228.6 kB / 1.367 GB, free: 10.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 7.398e-05/0.4328, allocations: 26.56 kB / 1.367 GB, free: 10.6 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.488e-05/0.4328, allocations: 8.922 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 9.699e-06/0.4328, allocations: 3.938 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001808/0.433, allocations: 67.33 kB / 1.368 GB, free: 10.51 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.362e-06/0.433, allocations: 0 / 1.368 GB, free: 10.51 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0002203/0.4332, allocations: 73.64 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.4333, allocations: 51.41 kB / 1.368 GB, free: 10.37 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.4334, allocations: 109.8 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.4334, allocations: 25.7 kB / 1.368 GB, free: 10.22 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.4335, allocations: 92.12 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.235e-05/0.4335, allocations: 3.953 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.328e-05/0.4336, allocations: 29.7 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4337, allocations: 318.8 kB / 1.368 GB, free: 9.766 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.939e-05/0.4338, allocations: 61.67 kB / 1.368 GB, free: 9.699 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.4339, allocations: 85.27 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001324/0.4341, allocations: 84.27 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.4341, allocations: 0 / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003032/0.4344, allocations: 192.9 kB / 1.369 GB, free: 9.297 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.325e-05/0.4344, allocations: 37.7 kB / 1.369 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4344, allocations: 0 / 1.369 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4344, allocations: 0 / 1.369 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.706e-05/0.4345, allocations: 7.938 kB / 1.369 GB, free: 9.246 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.4345, allocations: 4.062 kB / 1.369 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001959/0.4347, allocations: 27.95 kB / 1.369 GB, free: 9.215 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.4347, allocations: 8.391 kB / 1.369 GB, free: 9.207 MB / 1.061 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 0.0001083/0.4348, allocations: 114.9 kB / 1.369 GB, free: 9.086 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.4348, allocations: 3.938 kB / 1.369 GB, free: 9.082 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.964e-05/0.4349, allocations: 15.94 kB / 1.369 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.4349, allocations: 0 / 1.369 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.4349, allocations: 3.938 kB / 1.369 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.4349, allocations: 4.219 kB / 1.369 GB, free: 9.047 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001107/0.435, allocations: 109.3 kB / 1.369 GB, free: 8.91 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.435, allocations: 3.984 kB / 1.369 GB, free: 8.906 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/0.435, allocations: 3.938 kB / 1.369 GB, free: 8.902 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.435, allocations: 8.047 kB / 1.369 GB, free: 8.895 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.435, allocations: 4 kB / 1.369 GB, free: 8.891 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.435, allocations: 0 / 1.369 GB, free: 8.891 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.435, allocations: 0 / 1.369 GB, free: 8.891 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.4352, allocations: 89.02 kB / 1.369 GB, free: 8.785 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.361e-05/0.4352, allocations: 11.86 kB / 1.369 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.4352, allocations: 4 kB / 1.369 GB, free: 8.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.466e-05/0.4352, allocations: 4 kB / 1.369 GB, free: 8.766 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.933e-05/0.4352, allocations: 4 kB / 1.369 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.4352, allocations: 0 / 1.369 GB, free: 8.762 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.008e-05/0.4353, allocations: 95.25 kB / 1.369 GB, free: 8.668 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4353, allocations: 0 / 1.369 GB, free: 8.668 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002107/0.4355, allocations: 12 kB / 1.369 GB, free: 8.656 MB / 1.061 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.0001412/0.4357, allocations: 99.25 kB / 1.369 GB, free: 8.551 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002569/0.4359, allocations: 145 kB / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.4359, allocations: 0 / 1.369 GB, free: 8.391 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 3.788e-05/0.436, allocations: 16.12 kB / 1.369 GB, free: 8.375 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.4361, allocations: 11.98 kB / 1.369 GB, free: 8.363 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003208/0.4365, allocations: 147.8 kB / 1.37 GB, free: 8.188 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.636e-05/0.4365, allocations: 71.28 kB / 1.37 GB, free: 8.098 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.4366, allocations: 15.42 kB / 1.37 GB, free: 8.082 MB / 1.061 GB Notification: Performance of SimCode: time 3.01e-07/0.4366, allocations: 0 / 1.37 GB, free: 8.082 MB / 1.061 GB Notification: Performance of Templates: time 0.002871/0.4394, allocations: 0.9402 MB / 1.371 GB, free: 7.156 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger.csv","/var/lib/jenkins1/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.499689816031605]